From c487b3a958e8aa75ad74ac63da0a3379067c7a0e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 17 Sep 2018 13:58:50 -0700 Subject: re-generate database_schema.rs --- rust/src/database_schema.rs | 46 ++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'rust/src') diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs index d7bba7dc..df14c4aa 100644 --- a/rust/src/database_schema.rs +++ b/rust/src/database_schema.rs @@ -1,6 +1,6 @@ table! { abstracts (sha1) { - sha1 -> Varchar, + sha1 -> Text, content -> Text, } } @@ -9,7 +9,7 @@ table! { changelog (id) { id -> Int8, editgroup_id -> Uuid, - timestamp -> Timestamp, + timestamp -> Timestamptz, } } @@ -17,7 +17,7 @@ table! { container_edit (id) { id -> Int8, editgroup_id -> Uuid, - updated -> Timestamp, + updated -> Timestamptz, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -41,10 +41,10 @@ table! { extra_json -> Nullable, name -> Text, publisher -> Nullable, - issnl -> Nullable, - wikidata_qid -> Nullable, + issnl -> Nullable, + wikidata_qid -> Nullable, abbrev -> Nullable, - coden -> Nullable, + coden -> Nullable, } } @@ -52,7 +52,7 @@ table! { creator_edit (id) { id -> Int8, editgroup_id -> Uuid, - updated -> Timestamp, + updated -> Timestamptz, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -77,8 +77,8 @@ table! { display_name -> Text, given_name -> Nullable, surname -> Nullable, - orcid -> Nullable, - wikidata_qid -> Nullable, + orcid -> Nullable, + wikidata_qid -> Nullable, } } @@ -86,7 +86,7 @@ table! { editgroup (id) { id -> Uuid, editor_id -> Uuid, - created -> Timestamp, + created -> Timestamptz, extra_json -> Nullable, description -> Nullable, } @@ -97,7 +97,7 @@ table! { id -> Uuid, username -> Text, is_admin -> Bool, - registered -> Timestamp, + registered -> Timestamptz, active_editgroup_id -> Nullable, } } @@ -106,7 +106,7 @@ table! { file_edit (id) { id -> Int8, editgroup_id -> Uuid, - updated -> Timestamp, + updated -> Timestamptz, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -136,9 +136,9 @@ table! { id -> Uuid, extra_json -> Nullable, size -> Nullable, - sha1 -> Nullable, - sha256 -> Nullable, - md5 -> Nullable, + sha1 -> Nullable, + sha256 -> Nullable, + md5 -> Nullable, mimetype -> Nullable, } } @@ -168,7 +168,7 @@ table! { release_edit (id) { id -> Int8, editgroup_id -> Uuid, - updated -> Timestamp, + updated -> Timestamptz, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -212,11 +212,11 @@ table! { release_status -> Nullable, release_date -> Nullable, doi -> Nullable, - pmid -> Nullable, - pmcid -> Nullable, - wikidata_qid -> Nullable, - isbn13 -> Nullable, - core_id -> Nullable, + pmid -> Nullable, + pmcid -> Nullable, + wikidata_qid -> Nullable, + isbn13 -> Nullable, + core_id -> Nullable, volume -> Nullable, issue -> Nullable, pages -> Nullable, @@ -229,7 +229,7 @@ table! { release_rev_abstract (id) { id -> Int8, release_rev -> Uuid, - abstract_sha1 -> Varchar, + abstract_sha1 -> Text, mimetype -> Nullable, lang -> Nullable, } @@ -239,7 +239,7 @@ table! { work_edit (id) { id -> Int8, editgroup_id -> Uuid, - updated -> Timestamp, + updated -> Timestamptz, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, -- cgit v1.2.3