admin_bootstrap
This commit is contained in:
parent
39c4067305
commit
2cd955f835
11
app.py
11
app.py
@ -1914,8 +1914,10 @@ def bootstrap_admin() -> None:
|
||||
bio_mode,
|
||||
website,
|
||||
location,
|
||||
status_message,
|
||||
banner_attachment_id,
|
||||
updated_at
|
||||
) VALUES (?, ?, '', '', 'txt', '', '', ?)
|
||||
) VALUES (?, ?, '', '', 'txt', '', '', '', NULL, ?)
|
||||
""",
|
||||
(user_id, username, now_iso()),
|
||||
)
|
||||
@ -1928,8 +1930,13 @@ def bootstrap_admin() -> None:
|
||||
name_color,
|
||||
custom_css,
|
||||
theme_mode,
|
||||
presence_mode,
|
||||
profile_background_color,
|
||||
profile_banner_color,
|
||||
profile_visibility,
|
||||
last_active_visibility,
|
||||
updated_at
|
||||
) VALUES (?, '#f7dce8', NULL, '', 'dark', ?)
|
||||
) VALUES (?, '#f7dce8', NULL, '', 'dark', 'online', NULL, NULL, 'public', 'everyone', ?)
|
||||
""",
|
||||
(user_id, now_iso()),
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user