]> Git — Sourcephile - gargantext.git/blob - devops/postgres/schema
[VERSION] +1 to 0.0.1.91.3
[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