mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
section basic
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user