We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c6fb13 commit 608a3bbCopy full SHA for 608a3bb
postgres/scripts/v1_to_v2/copy_results.sh
@@ -0,0 +1,18 @@
1
+#!/bin/bash
2
+
3
+filename='project_ids.txt'
4
5
+while read project_id;
6
+do
7
8
+ echo "project_id: $project_id"
9
+ echo "Generate copy_to_csv.sql"
10
+ python3 generate_copy_to_csv.py $project_id
11
12
+ echo "Run copy_to_csv.sql using copy_restuls_to_csv.sh (Get all results of this projects from old production database)"
13
+ ./copy_results_to_csv.sh
14
15
+ echo "Run copy_from_csv.sh to insert all results of this project into new production database"
16
+ ./copy_from_csv.sh
17
18
+done < $filename
0 commit comments