Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Nov 1, 2023
1 parent ac888b5 commit 46d4321
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
-- SPDX-License-Identifier: Apache-2.0

ALTER TABLE mails
ADD COLUMN modseq BIGSERIAL NOT NULL;
ADD COLUMN IF NOT EXISTS modseq BIGSERIAL NOT NULL;
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- SPDX-License-Identifier: Apache-2.0

ALTER TABLE mails
ADD "uid" BIGINT NOT NULL DEFAULT 0,
ADD "mailbox" VARCHAR DEFAULT 'unknown' NOT NULL;
ADD COLUMN IF NOT EXISTS uid BIGINT NOT NULL DEFAULT 0,
ADD COLUMN mailbox IF NOT EXISTS VARCHAR DEFAULT 'unknown' NOT NULL;

create table IF NOT EXISTS mailbox_uid_counter
(
Expand Down

0 comments on commit 46d4321

Please sign in to comment.