mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 05:02:49 +00:00
Add destroy SQL scripts for multiple plugins (#1093)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
delete from sys_menu where name in ('AddGenCodeBusiness', 'EditGenCodeBusiness', 'DeleteGenCodeBusiness', 'AddGenCodeModel', 'EditGenCodeModel', 'DeleteGenCodeModel', 'ImportGenCode', 'WriteGenCode');
|
||||
|
||||
delete from sys_menu where name = 'PluginCodeGenerator';
|
||||
|
||||
drop table if exists gen_column;
|
||||
drop table if exists gen_business;
|
||||
|
||||
select setval(pg_get_serial_sequence('sys_menu', 'id'), coalesce(max(id), 0) + 1, true) from sys_menu;
|
||||
Reference in New Issue
Block a user