Update the database for custom puppets
This commit is contained in:
2
database/migrations/04-custom-puppet.sql
Normal file
2
database/migrations/04-custom-puppet.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE puppet ADD COLUMN custom_mxid TEXT;
|
||||
ALTER TABLE puppet ADD COLUMN access_token TEXT;
|
||||
@@ -42,6 +42,7 @@ func Run(db *sql.DB, baseLog log.Logger) error {
|
||||
migrationFromFile("01-initial.sql"),
|
||||
migrationFromFile("02-attachments.sql"),
|
||||
migrationFromFile("03-emoji.sql"),
|
||||
migrationFromFile("04-custom-puppet.sql"),
|
||||
),
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user