mautrix-whatsapp/database/upgrades/45-backfillqueue-dispatch-time.sql

6 lines
211 B
MySQL
Raw Normal View History

-- v45: Add dispatch time to backfill queue
ALTER TABLE backfill_queue ADD COLUMN dispatch_time TIMESTAMP;
UPDATE backfill_queue SET dispatch_time=completed_at;
ALTER TABLE backfill_queue DROP COLUMN time_end;