forked from kazimirchuk/dbms-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinsertData.sh
More file actions
executable file
·13 lines (13 loc) · 1.41 KB
/
Copy pathinsertData.sh
File metadata and controls
executable file
·13 lines (13 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash -i
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/countries.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/cities.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/districts.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/buildings.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/criminal_group_types.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/criminal_groups.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/persons.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/persons_enemies.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/persons_allies.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/persons_criminal_groups.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/super_abilities.sql
PGPASSWORD='12345678' psql -h localhost -d superhumans -U root -p 5432 -a -q -f /home/vagrant/dumps/persons_super_abilities.sql