summaryrefslogtreecommitdiffstats
path: root/rust/src/database_schema.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-26 17:08:21 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-26 17:08:21 -0700
commit55f8a495354d233f7a68128b2f3c21dbe7395427 (patch)
treee3afd04a58cc74abd9e15557d27d19ce47256f98 /rust/src/database_schema.rs
parent82f8b4d838de3fb8eda5db9b23c5bc48ab281f9e (diff)
downloadfatcat-55f8a495354d233f7a68128b2f3c21dbe7395427.tar.gz
fatcat-55f8a495354d233f7a68128b2f3c21dbe7395427.zip
tweak schema (api and sql)
Diffstat (limited to 'rust/src/database_schema.rs')
-rw-r--r--rust/src/database_schema.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs
index 7d8ff4e1..2541bcd8 100644
--- a/rust/src/database_schema.rs
+++ b/rust/src/database_schema.rs
@@ -32,7 +32,9 @@ table! {
extra_json -> Nullable<Json>,
name -> Text,
publisher -> Nullable<Text>,
- issn -> Nullable<Text>,
+ issnl -> Nullable<Text>,
+ abbrev -> Nullable<Text>,
+ coden -> Nullable<Text>,
}
}
@@ -60,7 +62,7 @@ table! {
creator_rev (id) {
id -> Int8,
extra_json -> Nullable<Json>,
- name -> Text,
+ full_name -> Text,
orcid -> Nullable<Text>,
}
}
@@ -116,6 +118,7 @@ table! {
extra_json -> Nullable<Json>,
size -> Nullable<Int8>,
sha1 -> Nullable<Text>,
+ md5 -> Nullable<Text>,
url -> Nullable<Text>,
}
}
@@ -125,7 +128,7 @@ table! {
id -> Int8,
release_rev -> Int8,
creator_ident_id -> Nullable<Uuid>,
- contrib_type -> Nullable<Text>,
+ role -> Nullable<Text>,
index -> Nullable<Int8>,
stub -> Nullable<Text>,
}
@@ -171,9 +174,11 @@ table! {
release_type -> Nullable<Text>,
date -> Nullable<Date>,
doi -> Nullable<Text>,
+ isbn13 -> Nullable<Text>,
volume -> Nullable<Text>,
pages -> Nullable<Text>,
issue -> Nullable<Text>,
+ publisher -> Nullable<Text>,
}
}