Skip to content
Snippets Groups Projects
Commit 38d59315 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

setup

parent ca9cfbc1
No related branches found
No related tags found
No related merge requests found
......@@ -29,3 +29,27 @@ CREATE DATABASE covid19data
LC_CTYPE = 'de_DE.UTF-8'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;
CREATE ROLE tw WITH
LOGIN
SUPERUSER
CREATEDB
CREATEROLE
INHERIT
REPLICATION
CONNECTION LIMIT -1
PASSWORD 'Recoil89';
GRANT pg_execute_server_program, pg_monitor, pg_read_all_settings, pg_read_all_stats, pg_read_server_files, pg_signal_backend TO tw WITH ADMIN OPTION;
CREATE DATABASE tw
WITH
OWNER = tw
TEMPLATE = postgres
ENCODING = 'UTF8'
LC_COLLATE = 'de_DE.UTF-8'
LC_CTYPE = 'de_DE.UTF-8'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment