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:
|
load:
|
||||||
$(SQL) $(OPTIONS) $(BASE) < data/data.sql
|
$(SQL) $(OPTIONS) $(BASE) < data/data.sql
|
||||||
|
|
||||||
drop: dropdb droppriv
|
drop: droppriv dropdb dropuser
|
||||||
|
|
||||||
droppriv:
|
droppriv:
|
||||||
$(SQL) $(OPTIONS) template1 -c "revoke all privileges on database $(BASE) from $(OWNER) ; "
|
$(SQL) $(OPTIONS) template1 -c "revoke all privileges on database $(BASE) from $(OWNER) ; "
|
||||||
|
|||||||
@ -24,7 +24,8 @@
|
|||||||
|
|
||||||
SQL=psql
|
SQL=psql
|
||||||
BASE=dolibarr
|
BASE=dolibarr
|
||||||
OPTIONS=-U postgres
|
OWNER=dolibarradm
|
||||||
|
OPTIONS=-U $(OWNER)
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
$(SQL) $(OPTIONS) $(BASE) < data_dev.sql
|
$(SQL) $(OPTIONS) $(BASE) < data_dev.sql
|
||||||
|
|||||||
@ -21,7 +21,8 @@
|
|||||||
#
|
#
|
||||||
SQL=psql
|
SQL=psql
|
||||||
BASE=dolibarr
|
BASE=dolibarr
|
||||||
OPTIONS=-U postgres
|
OWNER=dolibarradm
|
||||||
|
OPTIONS=-U $(OWNER)
|
||||||
|
|
||||||
all: show
|
all: show
|
||||||
|
|
||||||
@ -68,7 +69,6 @@ create:
|
|||||||
$(SQL) $(OPTIONS) $(BASE) < socpeople.sql
|
$(SQL) $(OPTIONS) $(BASE) < socpeople.sql
|
||||||
$(SQL) $(OPTIONS) $(BASE) < socstatutlog.sql
|
$(SQL) $(OPTIONS) $(BASE) < socstatutlog.sql
|
||||||
|
|
||||||
|
|
||||||
drop:
|
drop:
|
||||||
$(SQL) $(OPTIONS) $(BASE) < drop.sql
|
$(SQL) $(OPTIONS) $(BASE) < drop.sql
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user