Add missing fields to migration. Closes #1

This commit is contained in:
Toby Zerner 2015-05-11 10:37:02 +09:30
parent 9d6c5b9caa
commit ce2e90ecf9

View File

@ -15,8 +15,11 @@ class CreateCategoriesTable extends Migration
Schema::create('categories', function (Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->string('slug');
$table->text('description');
$table->string('color');
$table->integer('discussions_count')->unsigned()->default(0);
$table->integer('position')->nullable();
});
}