This commit is contained in:
巴掌 committed 2022-01-11 08:10:51 +08:00
1 parent b6b0be8168
commit 27fe2094d9
1 file changed
+6
@@ -54,6 +54,12 @@ class EditAdminStudent extends Migrator
->addColumn('bfdate','integer',['limit'=>11,'null'=>true,'comment'=>'开始日期'])
->update();
}
$column = $table->hasColumn('xueqi_id');
if (!$column) {
$table
->addColumn('xueqi_id','integer',['limit'=>11,'null'=>true,'comment'=>'学期'])
->update();
}
}