Better table structure

This commit is contained in:
James Brooks
2014-11-16 23:31:50 +00:00
parent 779f8b70e7
commit a016e0758a

View File

@@ -17,7 +17,10 @@ class CreateComponentsTable extends Migration {
$table->increments('id');
$table->string('name');
$table->string('description')->nullable()->default(null);
$table->tinyInteger('status', 1)->default(1);
$table->timestamps();
$table->index('status');
});
}