Skip to content

Commit

Permalink
Merge pull request #2314 from CachetHQ/fix-metrics-pgsql
Browse files Browse the repository at this point in the history
Use unsigned tiny int instead of boolean for visible metrics
  • Loading branch information
jbrooksuk authored Jan 16, 2017
2 parents 02fe8d1 + dbad195 commit b2067f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AlterTableMetricsAddVisibleColumn extends Migration
public function up()
{
Schema::table('metrics', function (Blueprint $table) {
$table->boolean('visible')->after('order')->default(1);
$table->unsignedTinyInteger('visible')->after('order')->default(1);

$table->index('visible');
});
Expand Down

0 comments on commit b2067f4

Please sign in to comment.