mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-16 05:07:34 +08:00
migrations boolean() -> smallInteger()
This commit is contained in:
@@ -19,14 +19,14 @@ class CreateSearchboxTable extends Migration
|
||||
Schema::create('searchbox', function (Blueprint $table) {
|
||||
$table->smallIncrements('id');
|
||||
$table->string('name', 30)->nullable();
|
||||
$table->boolean('showsubcat')->default(0);
|
||||
$table->boolean('showsource')->default(0);
|
||||
$table->boolean('showmedium')->default(0);
|
||||
$table->boolean('showcodec')->default(0);
|
||||
$table->boolean('showstandard')->default(0);
|
||||
$table->boolean('showprocessing')->default(0);
|
||||
$table->boolean('showteam')->default(0);
|
||||
$table->boolean('showaudiocodec')->default(0);
|
||||
$table->smallInteger('showsubcat')->default(0);
|
||||
$table->smallInteger('showsource')->default(0);
|
||||
$table->smallInteger('showmedium')->default(0);
|
||||
$table->smallInteger('showcodec')->default(0);
|
||||
$table->smallInteger('showstandard')->default(0);
|
||||
$table->smallInteger('showprocessing')->default(0);
|
||||
$table->smallInteger('showteam')->default(0);
|
||||
$table->smallInteger('showaudiocodec')->default(0);
|
||||
$table->unsignedSmallInteger('catsperrow')->default(7);
|
||||
$table->unsignedSmallInteger('catpadding')->default(25);
|
||||
$table->text('custom_fields')->nullable();
|
||||
|
||||
Reference in New Issue
Block a user