mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-11-14 05:52:45 +01:00
7 lines
301 B
SQL
7 lines
301 B
SQL
-- v49: Convert first_expected_ts to BIGINT so that we can use zero-values.
|
|
|
|
-- only: sqlite
|
|
UPDATE backfill_state SET first_expected_ts=unixepoch(first_expected_ts);
|
|
|
|
-- only: postgres
|
|
ALTER TABLE backfill_state ALTER COLUMN first_expected_ts TYPE BIGINT USING extract(epoch from first_expected_ts);
|