Skip to content

Commit

Permalink
auto create rating db on init
Browse files Browse the repository at this point in the history
  • Loading branch information
thiennn committed Feb 24, 2023
1 parent bac6ae4 commit 11bd114
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions postgres_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ CREATE DATABASE product WITH OWNER = admin ENCODING = 'UTF8' LC_COLLATE = 'en_US
LIMIT = -1;

CREATE DATABASE cart WITH OWNER = admin ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION
LIMIT = -1;

CREATE DATABASE rating WITH OWNER = admin ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION
LIMIT = -1;

0 comments on commit 11bd114

Please sign in to comment.