mirror of
https://github.com/tubearchivist/tubearchivist-server.git
synced 2024-11-24 20:50:13 +00:00
fix db rebuild new table layout
This commit is contained in:
parent
eef3581381
commit
a12a78f51c
@ -24,6 +24,7 @@ printf "\n -> replace\n"
|
|||||||
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_docker_stats;'"
|
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_docker_stats;'"
|
||||||
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_release;'"
|
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_release;'"
|
||||||
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_roadmap;'"
|
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_roadmap;'"
|
||||||
|
ssh $local_host "docker exec -i postgres psql -U archivist -c 'DROP TABLE IF EXISTS ta_version_stats;'"
|
||||||
ssh $local_host 'docker exec -i postgres psql -U archivist -d archivist < backup/backup'
|
ssh $local_host 'docker exec -i postgres psql -U archivist -d archivist < backup/backup'
|
||||||
ssh $local_host "trash backup/backup"
|
ssh $local_host "trash backup/backup"
|
||||||
printf "\n -> done\n"
|
printf "\n -> done\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user