summaryrefslogtreecommitdiffstats
path: root/rust/migrations
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:35:53 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:35:53 -0700
commit4eb8b801ba937e6f0af25bfc233c13b8e25138c0 (patch)
tree401892747c574ba8ebf56c0681e5f8b8f20b5164 /rust/migrations
parent6936db8b6d4b18a8247ea82014890d21316d36b0 (diff)
downloadfatcat-4eb8b801ba937e6f0af25bfc233c13b8e25138c0.tar.gz
fatcat-4eb8b801ba937e6f0af25bfc233c13b8e25138c0.zip
more i64 cleanup
Diffstat (limited to 'rust/migrations')
-rw-r--r--rust/migrations/2018-05-12-001226_init/up.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/migrations/2018-05-12-001226_init/up.sql b/rust/migrations/2018-05-12-001226_init/up.sql
index 09275bdd..d8b93dc2 100644
--- a/rust/migrations/2018-05-12-001226_init/up.sql
+++ b/rust/migrations/2018-05-12-001226_init/up.sql
@@ -94,7 +94,7 @@ CREATE TABLE file_rev (
id BIGSERIAL PRIMARY KEY,
-- extra_json JSON,
- size INTEGER, -- TODO: uint64
+ size BIGINT,
sha1 TEXT, -- TODO: varchar or bytes
url TEXT -- TODO: URL table
);
@@ -194,7 +194,7 @@ CREATE TABLE release_ref (
id BIGSERIAL PRIMARY KEY,
release_rev BIGSERIAL REFERENCES release_rev(id) NOT NULL,
target_release_ident_id UUID REFERENCES release_ident(id), -- or work?
- index INTEGER,
+ index BIGINT,
stub TEXT
);