Update
parent
2da65f5608
commit
aef3502938
|
|
@ -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']);
|
||||
});
|
||||
}
|
||||
Loading…
Reference in New Issue