Skip to content

Commit

Permalink
Update 20220414_1158_ddd776aa28c3_.py (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvvanessastoiber authored May 25, 2023
1 parent 9e57aec commit 4d7afb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coral/migration/versions/20220414_1158_ddd776aa28c3_.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ def upgrade():
for cmd in [
"""
CREATE SCHEMA IF NOT EXISTS cohort;
CREATE SEQUENCE cohort.cohort_id_seq
CREATE SEQUENCE IF NOT EXISTS cohort.cohort_id_seq
INCREMENT 1
START 1
MINVALUE 1
MAXVALUE 2147483647
CACHE 1;
""",
"""
CREATE TABLE cohort.cohort
CREATE TABLE IF NOT EXISTS cohort.cohort
(
id integer NOT NULL DEFAULT nextval('cohort.cohort_id_seq'::regclass),
name character varying COLLATE pg_catalog."default" NOT NULL,
Expand Down

0 comments on commit 4d7afb8

Please sign in to comment.