correct table's owership to dolibarr administrator insted of postgresql user
This commit is contained in:
parent
1bb5448241
commit
91e1425c93
@ -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) ; "
|
||||
|
||||
@ -24,7 +24,8 @@
|
||||
|
||||
SQL=psql
|
||||
BASE=dolibarr
|
||||
OPTIONS=-U postgres
|
||||
OWNER=dolibarradm
|
||||
OPTIONS=-U $(OWNER)
|
||||
|
||||
dev:
|
||||
$(SQL) $(OPTIONS) $(BASE) < data_dev.sql
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user