Files
WenwuMap/packages/db/seeds/004_test_artifacts.sql
T
selfrelease 2d847e154f chore: 初始化仓库
中华文明全图鉴——文物全图系统(PC Web 地图 + NestJS API + 管理后台)。
含三大 IP(文物南迁北归 / 国宝海外回归 / 博物馆手艺人)、AI 文物对话、
文物地图与详情、以及 demo-video-kit 演示视频生成工具。
2026-06-13 20:55:44 +08:00

61 lines
2.5 KiB
SQL

INSERT INTO artifacts (id, unified_map_id, name, category, dynasty, level, material,
current_status, home_institution_id, summary, story_hook, persona_quote, publish_status)
VALUES
(
'b0000000-0000-0000-0000-000000000001',
'CN-2026-000001', '千里江山图', 'painting_calligraphy', '北宋', 'level_1',
'绢本设色', 'at_home',
'a0000000-0000-0000-0000-000000000001',
'北宋青年画家王希孟创作的青绿山水长卷,纵51.5厘米,横1191.5厘米。',
'18岁天才少年留下的唯一作品',
'我只画了一次,但你们看了一千年。',
'published'
),
(
'b0000000-0000-0000-0000-000000000002',
'CN-2026-000002', '清明上河图', 'painting_calligraphy', '北宋', 'level_1',
'绢本淡设色', 'at_home',
'a0000000-0000-0000-0000-000000000001',
'北宋画家张择端所作,生动记录了北宋都城汴京的繁华景象。',
'一幅画藏着整个北宋汴京的烟火气',
'画里每个人都有故事,你看懂了几个?',
'published'
),
(
'b0000000-0000-0000-0000-000000000003',
'CN-2026-000003', '司母戊鼎', 'bronze', '商代', 'level_1',
'青铜', 'at_home',
'a0000000-0000-0000-0000-000000000002',
'商王祖庚或祖甲为祭祀母亲戊而铸造,是迄今已发现的最重青铜器。',
'三千年前的青铜巨物,至今仍无人能复刻其铸造工艺',
'我沉了三千年,终于等到你来看我。',
'published'
)
ON CONFLICT (id) DO NOTHING;
INSERT INTO artifact_locations (id, artifact_id, location_type, institution_id,
public_location, precision, display_status, source_type, is_current, verified_at)
VALUES
(
'c0000000-0000-0000-0000-000000000001',
'b0000000-0000-0000-0000-000000000001',
'domestic', 'a0000000-0000-0000-0000-000000000001',
ST_SetSRID(ST_MakePoint(116.3972, 39.9163), 4326)::geography,
'exact_building', 'in_storage', 'institution_feed', true, NOW()
),
(
'c0000000-0000-0000-0000-000000000002',
'b0000000-0000-0000-0000-000000000002',
'domestic', 'a0000000-0000-0000-0000-000000000001',
ST_SetSRID(ST_MakePoint(116.3972, 39.9163), 4326)::geography,
'exact_building', 'on_display', 'institution_feed', true, NOW()
),
(
'c0000000-0000-0000-0000-000000000003',
'b0000000-0000-0000-0000-000000000003',
'domestic', 'a0000000-0000-0000-0000-000000000002',
ST_SetSRID(ST_MakePoint(116.4074, 39.9052), 4326)::geography,
'exact_building', 'on_display', 'institution_feed', true, NOW()
)
ON CONFLICT (id) DO NOTHING;