线上课增加admin_id字段

This commit is contained in:
xxx
2023-11-13 10:08:52 +08:00
parent 179a7d5f62
commit ee1f009966
7 changed files with 69 additions and 3 deletions

View File

@@ -701,6 +701,18 @@ public class MigrationCheck implements CommandLineRunner {
""");
}
});
add(
new HashMap<>() {
{
put("table", "");
put("name", "20231113_10_00_add_admin_id_for_courses");
put(
"sql",
"""
ALTER TABLE `courses` add `admin_id` int(10) NOT NULL DEFAULT 0 COMMENT '管理员id';
""");
}
});
}
};