mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 18:14:14 -04:00
Fix unicode database support
This commit is contained in:
parent
0ba393924a
commit
0e8f5095c7
15 changed files with 88 additions and 44 deletions
|
@ -65,4 +65,4 @@ CREATE TABLE IF NOT EXISTS remote_media_cache_thumbnails (
|
|||
) ENGINE = INNODB;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS remote_media_cache_thumbnails_media_id
|
||||
ON local_media_repository_thumbnails (media_id);
|
||||
ON remote_media_cache_thumbnails (media_id);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
CREATE TABLE IF NOT EXISTS profiles(
|
||||
user_id VARCHAR(255) NOT NULL,
|
||||
displayname VARCHAR(255),
|
||||
displayname VARBINARY(255),
|
||||
avatar_url VARCHAR(255),
|
||||
UNIQUE(user_id)
|
||||
) ENGINE = INNODB;
|
||||
|
|
|
@ -38,7 +38,6 @@ CREATE TABLE IF NOT EXISTS sent_transactions(
|
|||
) ENGINE = INNODB;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS sent_transaction_dest ON sent_transactions(destination);
|
||||
CREATE INDEX IF NOT EXISTS sent_transaction_dest_referenced ON sent_transactions(destination);
|
||||
CREATE INDEX IF NOT EXISTS sent_transaction_txn_id ON sent_transactions(transaction_id);
|
||||
-- So that we can do an efficient look up of all transactions that have yet to be successfully
|
||||
-- sent.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue