]> Git — Sourcephile - gargantext.git/blob - devops/postgres/schema
[DB] Schema Node_Cgrams_Cgrams
[gargantext.git] / devops / postgres / schema
1 #!/bin/bash
2
3 DB="gargandbV5"
4 rm ../../tmp*
5 rm ../../repo*
6
7 psql -c "drop database IF EXISTS \"${DB}\""
8 createdb "${DB}"
9 psql "${DB}" < schema.sql