add more db inits
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
CREATE DATABASE demo;
|
||||
\c demo;
|
||||
|
||||
-- a single table is used for all events in the cqrs system
|
||||
CREATE TABLE events
|
||||
(
|
||||
@@ -21,8 +24,6 @@ ENCRYPTED PASSWORD
|
||||
GRANT
|
||||
ALL PRIVILEGES
|
||||
ON TABLE
|
||||
events,
|
||||
snapshots,
|
||||
queries
|
||||
events
|
||||
TO
|
||||
demo_user;
|
||||
|
||||
Reference in New Issue
Block a user