diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-22 17:26:57 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-22 17:26:57 -0700 |
commit | bfcf13c205e7c0fd38a0fc68194f8ab9550ca0a7 (patch) | |
tree | 423eb676a9b7ec70c5d03c2af38493adc053ebd5 /rust/src/database_schema.rs | |
parent | 7c53a08666d28f2a2f4c9572f63ae09a362b017b (diff) | |
download | fatcat-bfcf13c205e7c0fd38a0fc68194f8ab9550ca0a7.tar.gz fatcat-bfcf13c205e7c0fd38a0fc68194f8ab9550ca0a7.zip |
rustfmt, and implement schema tweaks
Diffstat (limited to 'rust/src/database_schema.rs')
-rw-r--r-- | rust/src/database_schema.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs index df14c4aa..829a21b8 100644 --- a/rust/src/database_schema.rs +++ b/rust/src/database_schema.rs @@ -159,7 +159,7 @@ table! { creator_ident_id -> Nullable<Uuid>, raw_name -> Nullable<Text>, role -> Nullable<Text>, - index_val -> Nullable<Int8>, + index_val -> Nullable<Int4>, extra_json -> Nullable<Jsonb>, } } @@ -191,11 +191,11 @@ table! { id -> Int8, release_rev -> Uuid, target_release_ident_id -> Nullable<Uuid>, - index_val -> Nullable<Int8>, + index_val -> Nullable<Int4>, key -> Nullable<Text>, extra_json -> Nullable<Jsonb>, - container_title -> Nullable<Text>, - year -> Nullable<Int8>, + container_name -> Nullable<Text>, + year -> Nullable<Int4>, title -> Nullable<Text>, locator -> Nullable<Text>, } |