Improve Postgres SQL dump

This commit is contained in:
Frederic Guillot
2016-05-22 21:11:19 -04:00
parent 5b0a298ded
commit dc6176fca2
3 changed files with 681 additions and 676 deletions

View File

@@ -58,7 +58,7 @@ test-postgres:
unittest: test-sqlite test-mysql test-postgres
sql:
@ pg_dump --schema-only --no-owner --no-privileges --file app/Schema/Sql/postgres.sql kanboard
@ pg_dump --schema-only --no-owner --no-privileges --quote-all-identifiers -n public --file app/Schema/Sql/postgres.sql kanboard
@ pg_dump -d kanboard --column-inserts --data-only --table settings >> app/Schema/Sql/postgres.sql
@ pg_dump -d kanboard --column-inserts --data-only --table links >> app/Schema/Sql/postgres.sql