mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 18:28:56 +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…
x
Reference in New Issue
Block a user