mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
Fix migration (#65)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -377,9 +377,9 @@ function migrationV5_1 (): [string, string] {
|
||||
DROP COLUMN IF EXISTS external_id;
|
||||
ALTER TABLE communication.files
|
||||
DROP COLUMN IF EXISTS message_created;
|
||||
ALTER TABLE communication.threads
|
||||
ALTER TABLE communication.thread
|
||||
DROP COLUMN IF EXISTS message_created;
|
||||
ALTER TABLE communication.link_previews
|
||||
ALTER TABLE communication.link_preview
|
||||
DROP COLUMN IF EXISTS message_created;
|
||||
`
|
||||
return ['remove_unused-columns-v5_1', sql]
|
||||
|
||||
Reference in New Issue
Block a user