dev
Jing Li 2023-10-31 12:05:53 +08:00
parent 2da65f5608
commit aef3502938
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ return new class extends Migration
*/
public function up()
{
Schema::table('adminstrators', function (Blueprint $table) {
Schema::table('admin_users', function (Blueprint $table) {
$table->boolean('view_all_bases')->default(false)->comment('是否可查看所有基地');
});
}
@ -25,7 +25,7 @@ return new class extends Migration
*/
public function down()
{
Schema::table('adminstrators', function (Blueprint $table) {
Schema::table('admin_users', function (Blueprint $table) {
$table->dropColumn(['view_all_bases']);
});
}