diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-14 21:16:23 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-14 21:19:28 -0700 |
commit | 8136c7bdfb3f96b506001a083b4b92ebd15e083a (patch) | |
tree | 6e6fbcd42a8bed3b4a5d5912d7e5c0b929b3c281 /rust/src | |
parent | ede30fef3e572b142dfde3b77b9642ccee841587 (diff) | |
download | fatcat-8136c7bdfb3f96b506001a083b4b92ebd15e083a.tar.gz fatcat-8136c7bdfb3f96b506001a083b4b92ebd15e083a.zip |
cockroach: try JSONB over JSON
Diffstat (limited to 'rust/src')
-rw-r--r-- | rust/src/database_schema.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs index a6605d81..98eb0961 100644 --- a/rust/src/database_schema.rs +++ b/rust/src/database_schema.rs @@ -38,7 +38,7 @@ table! { table! { container_rev (id) { id -> Uuid, - extra_json -> Nullable<Json>, + extra_json -> Nullable<Jsonb>, name -> Text, publisher -> Nullable<Text>, issnl -> Nullable<Bpchar>, @@ -73,7 +73,7 @@ table! { table! { creator_rev (id) { id -> Uuid, - extra_json -> Nullable<Json>, + extra_json -> Nullable<Jsonb>, display_name -> Text, given_name -> Nullable<Text>, surname -> Nullable<Text>, @@ -87,7 +87,7 @@ table! { id -> Uuid, editor_id -> Uuid, created -> Timestamp, - extra_json -> Nullable<Json>, + extra_json -> Nullable<Jsonb>, description -> Nullable<Text>, } } @@ -134,7 +134,7 @@ table! { table! { file_rev (id) { id -> Uuid, - extra_json -> Nullable<Json>, + extra_json -> Nullable<Jsonb>, size -> Nullable<Int8>, sha1 -> Nullable<Bpchar>, sha256 -> Nullable<Bpchar>, @@ -193,7 +193,7 @@ table! { target_release_ident_id -> Nullable<Uuid>, index_val -> Nullable<Int8>, key -> Nullable<Text>, - extra_json -> Nullable<Json>, + extra_json -> Nullable<Jsonb>, container_title -> Nullable<Text>, year -> Nullable<Int8>, title -> Nullable<Text>, @@ -204,7 +204,7 @@ table! { table! { release_rev (id) { id -> Uuid, - extra_json -> Nullable<Json>, + extra_json -> Nullable<Jsonb>, work_ident_id -> Uuid, container_ident_id -> Nullable<Uuid>, title -> Text, |