Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 20220414_1158_ddd776aa28c3_.py #61

Merged
merged 1 commit into from
May 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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