hippofish/docs/downgrade.sql
Trojaner a46d79d5da fix: replace urls to git.joinfirefish.org with firefish.dev
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: TrojanerHD <github@trojaner.dev>
2024-02-14 13:44:11 +00:00

27 lines
879 B
PL/PgSQL

BEGIN;
DELETE FROM "migrations" WHERE name IN (
'FirefishUrlMove1707850084123',
'RemoveNativeUtilsMigration1705877093218'
);
-- firefish-url-move
UPDATE "meta" SET "repositoryUrl" = 'https://git.joinfirefish.org/firefish/firefish';
UPDATE "meta" SET "feedbackUrl" = 'https://git.joinfirefish.org/firefish/firefish/issues';
-- remove-native-utils-migration
CREATE TABLE "seaql_migrations" (
version character varying NOT NULL,
applied_at bigint NOT NULL
);
INSERT INTO "seaql_migrations" (version, applied_at)
VALUES
('m20230531_180824_drop_reversi', 1705876632),
('m20230627_185451_index_note_url', 1705876632),
('m20230709_000510_move_antenna_to_cache', 1705876632),
('m20230806_170616_fix_antenna_stream_ids', 1705876632),
('m20230904_013244_is_indexable', 1705876632),
('m20231002_143323_remove_integrations', 1705876632)
;
COMMIT;