Files
mostlymatter/db/migrations/postgres/000063_upgrade_threads_v6.0.down.sql
2022-01-08 10:16:07 +02:00

4 строки
189 B
SQL

CREATE INDEX IF NOT EXISTS idx_threads_channel_id ON threads(channelid);
DROP INDEX IF EXISTS idx_threads_channel_id_last_reply_at;
ALTER TABLE threads ALTER COLUMN participants TYPE text;