Skip to content

Commit

Permalink
Drop user_portal table for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Dec 31, 2023
1 parent 35db0ab commit 5a424c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions database/upgrades/16-refactor-postgres.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
-- v16: Refactor types (Postgres)
-- only: postgres

DROP TABLE IF EXISTS user_portal;

-- Drop constraints so we can fix timestamps.
ALTER TABLE reaction DROP CONSTRAINT reaction_message_fkey;
ALTER TABLE message DROP CONSTRAINT message_pkey;
Expand Down
2 changes: 2 additions & 0 deletions database/upgrades/17-refactor-sqlite.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
-- This is separate from v16 so that postgres can run with transaction: on
-- (split upgrades by dialect don't currently allow disabling transaction in only one dialect)

DROP TABLE IF EXISTS user_portal;

PRAGMA foreign_keys = OFF;
BEGIN;

Expand Down

0 comments on commit 5a424c5

Please sign in to comment.