aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 19:25:07 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 19:25:07 -0700
commitcd84f3a750e4544b4c31def0fb48545ca058bafb (patch)
tree7ecfb6c683e0541d5d4972a62ca1f0a3001383bd /rust/src
parentceefad3b3f3decd4087aaad8e843df3ce42f0db6 (diff)
downloadfatcat-cd84f3a750e4544b4c31def0fb48545ca058bafb.tar.gz
fatcat-cd84f3a750e4544b4c31def0fb48545ca058bafb.zip
JSONB back to JSON, and skip for container_rev while debugging
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/database_schema.rs21
1 files changed, 10 insertions, 11 deletions
diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs
index 80f8fb3f..1d6b46fc 100644
--- a/rust/src/database_schema.rs
+++ b/rust/src/database_schema.rs
@@ -9,7 +9,7 @@ table! {
table! {
container_edit (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
ident_id -> Uuid,
rev_id -> Nullable<Int8>,
redirect_id -> Nullable<Uuid>,
@@ -29,7 +29,6 @@ table! {
table! {
container_rev (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
name -> Text,
parent_ident_id -> Nullable<Int8>,
publisher -> Nullable<Text>,
@@ -40,7 +39,7 @@ table! {
table! {
creator_edit (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
ident_id -> Uuid,
rev_id -> Nullable<Int8>,
redirect_id -> Nullable<Uuid>,
@@ -60,7 +59,7 @@ table! {
table! {
creator_rev (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
name -> Text,
orcid -> Nullable<Text>,
}
@@ -69,7 +68,7 @@ table! {
table! {
editgroup (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
editor_id -> Int8,
description -> Nullable<Text>,
}
@@ -87,7 +86,7 @@ table! {
table! {
file_edit (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
ident_id -> Uuid,
rev_id -> Nullable<Int8>,
redirect_id -> Nullable<Uuid>,
@@ -114,7 +113,7 @@ table! {
table! {
file_rev (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
size -> Nullable<Int4>,
sha1 -> Nullable<Text>,
url -> Nullable<Text>,
@@ -134,7 +133,7 @@ table! {
table! {
release_edit (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
ident_id -> Uuid,
rev_id -> Nullable<Int8>,
redirect_id -> Nullable<Uuid>,
@@ -164,7 +163,7 @@ table! {
table! {
release_rev (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
work_ident_id -> Uuid,
container_ident_id -> Nullable<Uuid>,
title -> Text,
@@ -181,7 +180,7 @@ table! {
table! {
work_edit (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
ident_id -> Uuid,
rev_id -> Nullable<Int8>,
redirect_id -> Nullable<Uuid>,
@@ -201,7 +200,7 @@ table! {
table! {
work_rev (id) {
id -> Int8,
- extra_json -> Nullable<Jsonb>,
+ extra_json -> Nullable<Json>,
work_type -> Nullable<Text>,
primary_release_id -> Nullable<Uuid>,
}