]> Git — Sourcephile - gargantext.git/blob - devops/postgres/schema
[API] file name added to corpus new endpoint
[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