数据库迁移更新

This commit is contained in:
筱锋xiao_lfeng 2023-06-15 00:01:03 +08:00
parent 0220fd272c
commit 12308ab75d
2 changed files with 1 additions and 2 deletions

View File

@ -28,8 +28,6 @@ public function up()
$table->boolean('blogRssJudge')->default(0); $table->boolean('blogRssJudge')->default(0);
$table->text('blogRSS')->nullable(); $table->text('blogRSS')->nullable();
$table->string('blogServerHost')->nullable(); $table->string('blogServerHost')->nullable();
$table->boolean('blogAdvJudge')->default(0);
$table->boolean('blogSecurityJudge')->default(1);
$table->unsignedInteger('blogLocation')->default(0); $table->unsignedInteger('blogLocation')->default(0);
$table->unsignedInteger('blogSetColor')->default(0); $table->unsignedInteger('blogSetColor')->default(0);
$table->timestamps(); $table->timestamps();

View File

@ -21,6 +21,7 @@ public function up()
Schema::create('blog_sort', function (Blueprint $table) { Schema::create('blog_sort', function (Blueprint $table) {
$table->id(); $table->id();
$table->integer('sort')->comment('排序(数字越小权限越大)'); $table->integer('sort')->comment('排序(数字越小权限越大)');
$table->boolean('userAble')->default(0)->comment('允许用户选择位置');
$table->string('title')->comment('标题'); $table->string('title')->comment('标题');
$table->text('description')->comment('描述')->nullable(); $table->text('description')->comment('描述')->nullable();
}); });