diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 22:17:43 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 22:17:43 -0700 |
commit | 1434bc978f0dc2e25455974903c040230b36101b (patch) | |
tree | 9d09367401c2ab6b0f2a1b6a6612f4d2d32b24ba /golang/sql/fatcat-schema.sql | |
parent | e63d2b6c2bc7c7ecf5e57e4e25267113f8a1ed51 (diff) | |
download | fatcat-1434bc978f0dc2e25455974903c040230b36101b.tar.gz fatcat-1434bc978f0dc2e25455974903c040230b36101b.zip |
basic creator POST
Diffstat (limited to 'golang/sql/fatcat-schema.sql')
-rw-r--r-- | golang/sql/fatcat-schema.sql | 2 |
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) ); |