Commit 8810351c by Patryk Czarnik

Zmiana nazwy usera na 'alx'

parent 8c622d8e
-- Wykonac jako user postgres (administrator)
-- Pozostale pliki juz jako user hr
-- Pozostale pliki juz jako user alx
DROP DATABASE IF EXISTS hr;
--DROP ROLE IF EXISTS kurs;
--DROP ROLE IF EXISTS alx;
--CREATE USER kurs PASSWORD 'abc123';
CREATE DATABASE hr ENCODING 'utf-8' OWNER kurs;
--CREATE USER alx PASSWORD 'abc123';
CREATE DATABASE hr ENCODING 'utf-8' OWNER alx;
......@@ -3,6 +3,6 @@ set Path=%Path%;%PG_HOME%\bin
psql -h localhost -p 5432 -d postgres -U postgres -f 0-admin.sql
psql -h localhost -p 5432 -d hr -U kurs -f wgraj_hr.sql
psql -h localhost -p 5432 -d hr -U alx -f wgraj_hr.sql
pause
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment