Browse Source

fix:增加测试数据

master
白凤吉 6 months ago
parent
commit
133051b38e
  1. 12
      sql/demo.sql

12
sql/demo.sql

@ -72,6 +72,15 @@ CREATE TABLE IF NOT EXISTS solutions (
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (1, '硫酸', '2025-02-18 02:44:07', '2025-02-18 02:44:07');
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (2, '盐酸', '2025-02-18 02:44:07', '2025-02-18 02:44:07');
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (3, '硝酸', '2025-02-18 02:44:07', '2025-02-18 02:44:07');
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (4, '氢氟酸', '2025-02-18 02:46:23', '2025-02-18 02:46:23');
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (5, '过氧酸', '2025-02-18 02:46:35', '2025-02-18 02:46:35');
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (6, '磷酸', '2025-02-18 02:46:43', '2025-02-18 02:46:43');
INSERT INTO "solutions" ("id", "name", "create_time", "update_time") VALUES (7, '纯水', '2025-02-18 02:46:50', '2025-02-18 02:46:50');
-- 创建 ores 矿石 表
CREATE TABLE IF NOT EXISTS ores (
id INTEGER PRIMARY KEY AUTOINCREMENT,
@ -80,6 +89,9 @@ CREATE TABLE IF NOT EXISTS ores (
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO "main"."ores" ("id", "name", "create_time", "update_time") VALUES (1, '金矿石', '2025-02-18 02:47:35', '2025-02-18 02:47:35');
INSERT INTO "main"."ores" ("id", "name", "create_time", "update_time") VALUES (2, '银矿石', '2025-02-18 02:47:41', '2025-02-18 02:47:41');
-- 创建 crafts 工艺 表
CREATE TABLE IF NOT EXISTS crafts (
id INTEGER PRIMARY KEY AUTOINCREMENT,

Loading…
Cancel
Save