Compare commits
4 Commits
pkg/dev/ri
...
dist/risot
Author | SHA1 | Date | |
---|---|---|---|
d7af784926 | |||
80bcc8821f | |||
71bbc42786 | |||
a69d0f7386 |
@ -61,7 +61,7 @@ CREATE TABLE Server (
|
||||
CREATE TABLE Source (
|
||||
SourceId SERIAL PRIMARY KEY,
|
||||
SourceName VARCHAR(255) NOT NULL UNIQUE,
|
||||
SourceURL TEXT
|
||||
SourceDirectory TEXT
|
||||
);
|
||||
|
||||
-- Release
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
systemctl start postgresql.service
|
||||
|
||||
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
|
||||
@ -9,4 +11,6 @@ psql -Upostgres -c "grant all on all tables in schema public to tiramisu" tirami
|
||||
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
|
||||
|
||||
systemctl stop postgresql.service
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user