Commit Graph

12 Commits

Author SHA1 Message Date
Nick Barrett
915d45d47e
Fixup more of the database. 2021-09-17 12:23:10 -04:00
Nick Barrett
0b845b45b6
Use IF NOT EXISTS everywhere. 2021-09-17 11:25:28 -04:00
Nick Barrett
e2e03784ea
Fix the first DB table schema. 2021-09-17 11:17:53 -04:00
Nick Barrett
6ae7b44318
More gorm tweaks. 2021-09-17 10:50:30 -04:00
Nick Barrett
c68e8a68a0
Fix (?) gorm exec statements. 2021-09-17 10:48:13 -04:00
Nick Barrett
f892893292
Enable the initial schema db upgrade. 2021-09-17 10:46:09 -04:00
Karmanyaah Malhotra
eafc18099d BIG ASS COMMIT 2021-02-13 00:53:35 -05:00
Tulir Asokan
ed978bcb9c Don't use different types for SQLite in DB schema 2020-05-21 20:56:41 +03:00
Tulir Asokan
3be9aa2319 Improve errors in state store migration edge cases 2019-08-25 17:25:19 +03:00
Tulir Asokan
95e62fae77 Upgrade message content in db to new protocol schema 2019-05-24 01:09:42 +03:00
Tulir Asokan
6cda7ab549 Add ON DELETE CASCADE for future sqlite databases too 2019-05-17 13:10:46 +03:00
Tulir Asokan
b0d774a5a5 Add database migrations and handle leaving private chat portals. Fixes #7 2019-05-16 21:26:43 +03:00