Improve Postgres SQL dump
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user