feat: refactor batch delete endpoint to use request parameters and update SQL schema for firearm table

This commit is contained in:
2026-04-22 16:35:39 +08:00
parent 5ce8a994a4
commit 353c05339e
2 changed files with 7 additions and 6 deletions
@@ -1,4 +1,5 @@
-- 创建新表
DROP TABLE IF EXISTS firearm_new;
CREATE TABLE firearm_new
(
id BIGSERIAL NOT NULL,
@@ -20,10 +21,10 @@ SELECT id,
name,
type,
level,
calibre,
'',
0,
0,
0,
armour_damage,
body_damage,
review
FROM firearm;