mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
9 lines
361 B
SQL
9 lines
361 B
SQL
delete from sys_menu where name in ('AddDictType', 'EditDictType', 'DeleteDictType', 'AddDictData', 'EditDictData', 'DeleteDictData');
|
|
|
|
delete from sys_menu where name = 'PluginDict';
|
|
|
|
drop table if exists sys_dict_data;
|
|
drop table if exists sys_dict_type;
|
|
|
|
select setval(pg_get_serial_sequence('sys_menu', 'id'), coalesce(max(id), 0) + 1, true) from sys_menu;
|