0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-29 16:08:21 +02:00

Move FTS to delta 25

This commit is contained in:
Erik Johnston 2015-10-22 11:12:28 +01:00
parent 5c41224a89
commit 4d25bc6c92
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ logger = logging.getLogger(__name__)
# Remember to update this number every time a change is made to database # Remember to update this number every time a change is made to database
# schema files, so the users will be informed on server restarts. # schema files, so the users will be informed on server restarts.
SCHEMA_VERSION = 24 SCHEMA_VERSION = 25
dir_path = os.path.abspath(os.path.dirname(__file__)) dir_path = os.path.abspath(os.path.dirname(__file__))

View file

@ -23,7 +23,7 @@ logger = logging.getLogger(__name__)
POSTGRES_SQL = """ POSTGRES_SQL = """
CREATE TABLE event_search ( CREATE TABLE IF NOT EXISTS event_search (
event_id TEXT, event_id TEXT,
room_id TEXT, room_id TEXT,
key TEXT, key TEXT,
@ -53,7 +53,7 @@ CREATE INDEX event_search_ev_ridx ON event_search(room_id);
SQLITE_TABLE = ( SQLITE_TABLE = (
"CREATE VIRTUAL TABLE event_search USING fts3 ( event_id, room_id, key, value)" "CREATE VIRTUAL TABLE IF NOT EXISTS event_search USING fts3 ( event_id, room_id, key, value)"
) )