-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eccce06
commit 6c7910e
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
xmtp_mls/migrations/2024-12-18-175338_messages_content_type/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ALTER TABLE group_messages | ||
DROP COLUMN authority_id; | ||
|
||
ALTER TABLE group_messages | ||
DROP COLUMN version_major; | ||
|
||
ALTER TABLE group_messages | ||
DROP COLUMN version_minor; | ||
|
||
ALTER TABLE group_messages | ||
DROP COLUMN content_type; |
11 changes: 11 additions & 0 deletions
11
xmtp_mls/migrations/2024-12-18-175338_messages_content_type/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ALTER TABLE group_messages | ||
ADD COLUMN content_type INTEGER NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE group_messages | ||
ADD COLUMN version_minor INTEGER NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE group_messages | ||
ADD COLUMN version_major INTEGER NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE group_messages | ||
ADD COLUMN authority_id TEXT NOT NULL DEFAULT ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters