Update latest revision upgrade
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
from mautrix.util.async_db import Connection, Scheme
|
from mautrix.util.async_db import Connection, Scheme
|
||||||
|
|
||||||
latest_version = 13
|
latest_version = 14
|
||||||
|
|
||||||
|
|
||||||
async def create_latest_tables(conn: Connection, scheme: Scheme) -> int:
|
async def create_latest_tables(conn: Connection, scheme: Scheme) -> int:
|
||||||
@@ -123,6 +123,7 @@ async def create_latest_tables(conn: Connection, scheme: Scheme) -> int:
|
|||||||
)"""
|
)"""
|
||||||
)
|
)
|
||||||
await conn.execute("CREATE INDEX puppet_username_idx ON puppet(LOWER(username))")
|
await conn.execute("CREATE INDEX puppet_username_idx ON puppet(LOWER(username))")
|
||||||
|
await conn.execute("CREATE INDEX puppet_custom_mxid_idx ON puppet(custom_mxid)")
|
||||||
await conn.execute(
|
await conn.execute(
|
||||||
"""CREATE TABLE telegram_file (
|
"""CREATE TABLE telegram_file (
|
||||||
id TEXT PRIMARY KEY,
|
id TEXT PRIMARY KEY,
|
||||||
|
|||||||
Reference in New Issue
Block a user