You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
678 B
SQL
19 lines
678 B
SQL
CREATE database sos;
|
|
create schema sos;
|
|
create user sos with encrypted password 'password';
|
|
|
|
grant all privileges on database sos to sos;
|
|
grant usage on schema public to sos;
|
|
grant usage on schema sos to sos;
|
|
|
|
alter default privileges in schema public grant all privileges on all tables to sos;
|
|
alter default privileges in schema sos grant all privileges on all tables to sos;
|
|
alter default privileges in schema sos grant all privileges on all procedures to sos;
|
|
|
|
grant all privileges on all tables in schema public to sos;
|
|
grant all privileges on all tables in schema sos to sos;
|
|
|
|
create extension if not exists "uuid-ossp";
|
|
CREATE EXTENSION IF NOT EXISTS citext;
|
|
|