From 2991a4349f86cca8d1dcc978e3506f3032d5ebdd Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 24 May 2018 22:35:37 -0700 Subject: extra_json in SQL schema and implementation --- rust/src/database_schema.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'rust/src/database_schema.rs') diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs index 6856b19c..5ce407b6 100644 --- a/rust/src/database_schema.rs +++ b/rust/src/database_schema.rs @@ -9,6 +9,7 @@ table! { table! { container_edit (id) { id -> Int8, + extra_json -> Nullable, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -28,6 +29,7 @@ table! { table! { container_rev (id) { id -> Int8, + extra_json -> Nullable, name -> Text, publisher -> Nullable, issn -> Nullable, @@ -37,6 +39,7 @@ table! { table! { creator_edit (id) { id -> Int8, + extra_json -> Nullable, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -56,6 +59,7 @@ table! { table! { creator_rev (id) { id -> Int8, + extra_json -> Nullable, name -> Text, orcid -> Nullable, } @@ -82,6 +86,7 @@ table! { table! { file_edit (id) { id -> Int8, + extra_json -> Nullable, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -108,6 +113,7 @@ table! { table! { file_rev (id) { id -> Int8, + extra_json -> Nullable, size -> Nullable, sha1 -> Nullable, url -> Nullable, @@ -127,6 +133,7 @@ table! { table! { release_edit (id) { id -> Int8, + extra_json -> Nullable, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -156,6 +163,7 @@ table! { table! { release_rev (id) { id -> Int8, + extra_json -> Nullable, work_ident_id -> Uuid, container_ident_id -> Nullable, title -> Text, @@ -171,6 +179,7 @@ table! { table! { work_edit (id) { id -> Int8, + extra_json -> Nullable, ident_id -> Uuid, rev_id -> Nullable, redirect_id -> Nullable, @@ -190,6 +199,7 @@ table! { table! { work_rev (id) { id -> Int8, + extra_json -> Nullable, work_type -> Nullable, primary_release_id -> Nullable, } -- cgit v1.2.3