Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit 4337869

Browse files
committed
darkmodeをマイグレーション
1 parent 11257d2 commit 4337869

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webapp/sql/initial_users.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,3 +2000,5 @@ INSERT INTO themes (user_id, dark_mode) VALUES (999, false);
20002000
INSERT INTO users (id, name, display_name, description, password) VALUES (1000, 'tomoya450', 'おまんまる', '普段脚本家をしています。\nよろしくおねがいします!\n\n連絡は以下からお願いします。\n\nウェブサイト: http://tomoya45.example.com/\nメールアドレス: tomoya45@example.com\n', '$2a$04$/v16fIbxYBiHvtEmtjgydeJ/fUI2H0OhCgNdTReh5WZUtHYvubDDi');
20012001
INSERT INTO themes (user_id, dark_mode) VALUES (1000, false);
20022002

2003+
update users JOIN themes t on t.user_id = users.id SET users.dark_mode = t.dark_mode;
2004+

0 commit comments

Comments
 (0)