summaryrefslogtreecommitdiffstats
path: root/golang/sql/fatcat-schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'golang/sql/fatcat-schema.sql')
-rw-r--r--golang/sql/fatcat-schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/golang/sql/fatcat-schema.sql b/golang/sql/fatcat-schema.sql
index f5983371..fe07390f 100644
--- a/golang/sql/fatcat-schema.sql
+++ b/golang/sql/fatcat-schema.sql
@@ -53,7 +53,7 @@ CREATE INDEX creator_rev_orcid_idx ON creator_rev(orcid) WHERE orcid IS NOT NULL
CREATE TABLE creator_ident (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
- is_live BOOL NOT NULL,
+ is_live BOOL NOT NULL DEFAULT false,
rev_id BIGINT REFERENCES creator_rev(id),
redirect_id UUID REFERENCES creator_ident(id)
);