refactor: 用 per-domain fixture 替代 seed.py
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
INSERT INTO shops (id, owner_id, name, description, rating, total_orders, player_count, commission_type, commission_value, dispatch_mode, announcements) VALUES
|
||||
(100001, 100004, '星辰代练工作室', '专业LOL/王者代练,7天无理由退款', 4.80, 256, 2, 'percentage', 15.00, 'manual',
|
||||
ARRAY['新店开业,首单九折!','招募高端局打手,待遇从优']),
|
||||
(100002, 100005, '狼群电竞俱乐部', '高端局代练团队,大师以上段位保证', 4.65, 180, 1, 'percentage', 12.00, 'auto',
|
||||
ARRAY['本周特惠:钻石到大师只需199']),
|
||||
(100003, 100008, '全能工作室', '多游戏代练,总有一款适合你', 4.50, 80, 1, 'fixed', 10.00, 'manual',
|
||||
ARRAY['支持LOL/VALORANT/原神']);
|
||||
|
||||
INSERT INTO shop_players (id, shop_id, player_id, is_primary) VALUES
|
||||
(109001, 100001, 100001, true),
|
||||
(109002, 100001, 100002, false),
|
||||
(109003, 100002, 100003, true),
|
||||
(109004, 100003, 100004, true);
|
||||
Reference in New Issue
Block a user