Compare commits
No commits in common. "81f0635ef2630d04f8fa798ce6f0eb6655ed64b9" and "5f7dbb645a8023358702f006132c4e6ee85a5d90" have entirely different histories.
81f0635ef2
...
5f7dbb645a
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
psql -Upostgres -c "grant all on all tables in schema public to risotto" risotto
|
|
||||||
psql -Upostgres -c "grant all on all sequences in schema public to risotto" risotto
|
|
||||||
psql -Upostgres -c "grant all on all functions in schema public to risotto" risotto
|
|
||||||
psql -Upostgres -c "grant all on all tables in schema public to tiramisu" tiramisu
|
|
||||||
psql -Upostgres -c "grant all on all sequences in schema public to tiramisu" tiramisu
|
|
||||||
psql -Upostgres -c "grant all on all functions in schema public to tiramisu" tiramisu
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,14 +1,9 @@
|
||||||
%set %%dbname = %%getVar('risotto_main_dbname')
|
|
||||||
---
|
---
|
||||||
dbuser: %%getVar('risotto_db_user')
|
dbuser: %%getVar('risotto_db_user')
|
||||||
dbuser_options:
|
|
||||||
- LOGIN
|
|
||||||
privileges:
|
|
||||||
%%{dbname}.public: 'ALL'
|
|
||||||
dbhost: %%getVar('risotto_db_address')
|
dbhost: %%getVar('risotto_db_address')
|
||||||
dbport: 5432
|
dbport: 5432
|
||||||
dbtype: postgres
|
dbtype: postgres
|
||||||
dbname: %%dbname
|
dbname: %%getVar('risotto_main_dbname')
|
||||||
template: 'postgres'
|
template: 'postgres'
|
||||||
sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql']
|
sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql']
|
||||||
pwd_files:
|
pwd_files:
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
%set %%dbname = %%getVar('risotto_tiramisu_dbname')
|
|
||||||
---
|
---
|
||||||
dbuser: %%getVar('risotto_tiramisu_db_user')
|
dbuser: %%getVar('risotto_tiramisu_db_user')
|
||||||
dbuser_options:
|
|
||||||
- LOGIN
|
|
||||||
privileges:
|
|
||||||
%%{dbname}.public: 'ALL'
|
|
||||||
dbhost: %%getVar('risotto_db_address')
|
dbhost: %%getVar('risotto_db_address')
|
||||||
dbport: 5432
|
dbport: 5432
|
||||||
dbtype: postgres
|
dbtype: postgres
|
||||||
|
|
Loading…
Reference in New Issue