mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-06-08 22:18:57 +02:00
Fix changing first_expected_ts column type
This commit is contained in:
parent
1f292dc1c5
commit
241de2f18f
|
@ -4,4 +4,4 @@
|
|||
UPDATE backfill_state SET first_expected_ts=unixepoch(first_expected_ts);
|
||||
|
||||
-- only: postgres
|
||||
ALTER TABLE backfill_state ALTER COLUMN first_expected_ts TYPE BIGINT;
|
||||
ALTER TABLE backfill_state ALTER COLUMN first_expected_ts TYPE BIGINT USING extract(epoch from first_expected_ts);
|
||||
|
|
Loading…
Reference in a new issue