section basic

This commit is contained in:
xiaomlove
2022-10-27 20:21:54 +08:00
parent 0053d14183
commit ce5d99c16a
92 changed files with 3188 additions and 1367 deletions

View File

@@ -14,8 +14,7 @@ return new class extends Migration
public function up()
{
Schema::table('searchbox', function (Blueprint $table) {
$table->string('section_name')->after('name')->default('');
$table->integer('is_default')->after('section_name')->default(0);
$table->json('section_name')->after('name')->nullable(true);
});
}
@@ -27,7 +26,7 @@ return new class extends Migration
public function down()
{
Schema::table('searchbox', function (Blueprint $table) {
$table->dropColumn('section_name', 'is_default');
$table->dropColumn('section_name');
});
}
};

View File

@@ -22,6 +22,12 @@ return new class extends Migration
$table->string('class_name')->nullable(true)->default('')->change();
$table->string('image')->nullable(true)->default('')->change();
});
Schema::table('caticons', function (Blueprint $table) {
$table->string('cssfile')->nullable(true)->default('')->change();
$table->string('designer')->nullable(true)->default('')->change();
$table->string('comment')->nullable(true)->default('')->change();
});
}
/**