Skip to content

Commit

Permalink
Use unsigned tiny int instead of boolean for visible metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
joecohens committed Jan 16, 2017
1 parent 02fe8d1 commit dbad195
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 dbad195

Please sign in to comment.