Allow for logos to be used as instance names

This commit is contained in:
SCOPEDD committed 2026-09-29 01:58:53 -04:00
1 parent a1f19e86c6
commit 522e3a5717
10 files changed
+38 -10

No files matched your search

+4
View File
@@ -215,6 +215,10 @@ const MIGRATIONS: &[&str] = &[
WHEN NEW.uuid <> ''
BEGIN INSERT OR IGNORE INTO reserved_usernames VALUES (NEW.username, NEW.uuid); END;
"#,
// 5: instance logo url.
r#"
ALTER TABLE instances ADD COLUMN logo_url TEXT;
"#,
];
pub async fn connect(data_dir: &Path) -> Result<SqlitePool> {