mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
Add missing fields to migration. Closes #1
This commit is contained in:
parent
9d6c5b9caa
commit
ce2e90ecf9
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user