summaryrefslogtreecommitdiffstats
path: root/extra/sql_dumps/dump_idents.sql
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-28 15:30:32 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-28 15:31:43 -0800
commit2219d6f04429ea42eb0381c29780f55b44770b87 (patch)
tree0bad9c5b3e8bbb278e50c895b93d4d37a2728451 /extra/sql_dumps/dump_idents.sql
parent1eeecb90a4ce743d4d83c651b9e8c0128541404a (diff)
downloadfatcat-2219d6f04429ea42eb0381c29780f55b44770b87.tar.gz
fatcat-2219d6f04429ea42eb0381c29780f55b44770b87.zip
add filesets and webcaptures to dumps
Diffstat (limited to 'extra/sql_dumps/dump_idents.sql')
-rw-r--r--extra/sql_dumps/dump_idents.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/sql_dumps/dump_idents.sql b/extra/sql_dumps/dump_idents.sql
index 22640cbc..e8126347 100644
--- a/extra/sql_dumps/dump_idents.sql
+++ b/extra/sql_dumps/dump_idents.sql
@@ -5,6 +5,8 @@ COPY (SELECT id FROM changelog ORDER BY id DESC LIMIT 1)
COPY (SELECT id, rev_id, redirect_id FROM creator_ident WHERE is_live=true) TO '/tmp/fatcat_ident_creators.tsv' WITH NULL '';
COPY (SELECT id, rev_id, redirect_id FROM container_ident WHERE is_live=true) TO '/tmp/fatcat_ident_containers.tsv' WITH NULL '';
COPY (SELECT id, rev_id, redirect_id FROM file_ident WHERE is_live=true) TO '/tmp/fatcat_ident_files.tsv' WITH NULL '';
+COPY (SELECT id, rev_id, redirect_id FROM fileset_ident WHERE is_live=true) TO '/tmp/fatcat_ident_filesets.tsv' WITH NULL '';
+COPY (SELECT id, rev_id, redirect_id FROM webcapture_ident WHERE is_live=true) TO '/tmp/fatcat_ident_webcaptures.tsv' WITH NULL '';
COPY (SELECT id, rev_id, redirect_id FROM release_ident WHERE is_live=true) TO '/tmp/fatcat_ident_releases.tsv' WITH NULL '';
COPY (SELECT id, rev_id, redirect_id FROM work_ident WHERE is_live=true) TO '/tmp/fatcat_ident_works.tsv' WITH NULL '';
COPY (SELECT id, editgroup_id, timestamp FROM changelog) TO '/tmp/fatcat_ident_changelog.tsv' WITH NULL '';