summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-30 16:15:16 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-30 16:15:16 -0700
commitfd79a4d89ff1da25160bd7ab7ae1758ca59bd3f0 (patch)
tree3109ca0e9d697eec75e62ef5e0a460866eb05390 /rust
parente4d50fca0afc8260bd58e2f5d139d31f54c797e4 (diff)
downloadfatcat-fd79a4d89ff1da25160bd7ab7ae1758ca59bd3f0.tar.gz
fatcat-fd79a4d89ff1da25160bd7ab7ae1758ca59bd3f0.zip
add some container extra_json to examples
Diffstat (limited to 'rust')
-rw-r--r--rust/migrations/2018-05-12-001226_init/up.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/migrations/2018-05-12-001226_init/up.sql b/rust/migrations/2018-05-12-001226_init/up.sql
index 1ee813ef..c34a0194 100644
--- a/rust/migrations/2018-05-12-001226_init/up.sql
+++ b/rust/migrations/2018-05-12-001226_init/up.sql
@@ -296,10 +296,10 @@ INSERT INTO changelog (editgroup_id) VALUES
(4),
(5);
-INSERT INTO container_rev (name, publisher, issnl, abbrev, coden) VALUES
- ('MySpace Blog', null, null, null, null),
- ('Journal of Trivial Results', 'bogus publishing group', '1234-5678', 'Triv. Res.', 'CDNXYZ'),
- ('PLOS Medicine', 'Public Library of Science', '1549-1277', 'PLoS med.', null);
+INSERT INTO container_rev (name, publisher, issnl, abbrev, coden, extra_json) VALUES
+ ('MySpace Blog', null, null, null, null, null),
+ ('Journal of Trivial Results', 'bogus publishing group', '1234-5678', 'Triv. Res.', 'CDNXYZ', '{"is_oa": false, "in_doaj": false}'),
+ ('PLOS Medicine', 'Public Library of Science', '1549-1277', 'PLoS med.', null, '{"is_oa": true, "in_doaj": true}');
INSERT INTO container_ident (id, is_live, rev_id, redirect_id) VALUES
('00000000-0000-0000-1111-000000000001', true, 1, null),