mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2025-03-18 07:10:20 +01:00
Fix changing first_expected_ts column type
This commit is contained in:
parent
1f292dc1c5
commit
241de2f18f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue