correct table's owership to dolibarr administrator insted of postgresql user

This commit is contained in:
erics 2003-01-02 10:33:46 +00:00
parent 1bb5448241
commit 91e1425c93
3 changed files with 6 additions and 5 deletions

View File

@ -53,7 +53,7 @@ droptable:
load:
$(SQL) $(OPTIONS) $(BASE) < data/data.sql
drop: dropdb droppriv
drop: droppriv dropdb dropuser
droppriv:
$(SQL) $(OPTIONS) template1 -c "revoke all privileges on database $(BASE) from $(OWNER) ; "

View File

@ -24,7 +24,8 @@
SQL=psql
BASE=dolibarr
OPTIONS=-U postgres
OWNER=dolibarradm
OPTIONS=-U $(OWNER)
dev:
$(SQL) $(OPTIONS) $(BASE) < data_dev.sql

View File

@ -21,11 +21,12 @@
#
SQL=psql
BASE=dolibarr
OPTIONS=-U postgres
OWNER=dolibarradm
OPTIONS=-U $(OWNER)
all: show
create:
create:
$(SQL) $(OPTIONS) $(BASE) < actioncomm.sql
$(SQL) $(OPTIONS) $(BASE) < c_actioncomm.sql
$(SQL) $(OPTIONS) $(BASE) < c_chargesociales.sql
@ -68,7 +69,6 @@ create:
$(SQL) $(OPTIONS) $(BASE) < socpeople.sql
$(SQL) $(OPTIONS) $(BASE) < socstatutlog.sql
drop:
$(SQL) $(OPTIONS) $(BASE) < drop.sql