From 06d625013b1d2a1d1a78ebda9d039a0028e0f5f5 Mon Sep 17 00:00:00 2001 From: jomu Date: Mon, 19 Nov 2018 17:46:55 +0100 Subject: [PATCH] added parameter to clean database before reinstall --- account/sql/backupAccount.bat | 2 +- account/sql/backupAccountTest.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account/sql/backupAccount.bat b/account/sql/backupAccount.bat index 6638807..dc152ab 100644 --- a/account/sql/backupAccount.bat +++ b/account/sql/backupAccount.bat @@ -1,4 +1,4 @@ echo off SET BACKUPFOLDER=%~dp0 -"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl account > %BACKUPFOLDER%\account.dump +"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl --clean account > %BACKUPFOLDER%\account.dump pause; diff --git a/account/sql/backupAccountTest.bat b/account/sql/backupAccountTest.bat index f305b70..f6d809c 100644 --- a/account/sql/backupAccountTest.bat +++ b/account/sql/backupAccountTest.bat @@ -1,4 +1,4 @@ echo off SET BACKUPFOLDER=%~dp0 -"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl account_test > %BACKUPFOLDER%\account_test.dump +"C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -U jomu -n public --column-inserts --attribute-inserts --no-owner --no-privileges --no-acl --clean account_test > %BACKUPFOLDER%\account_test.dump pause;