mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
- Switch to pnpm based build - Switch circleci from docker to machine to have more memory - Fix frontend and backend tests Fixes https://linear.app/chatwoot/issue/CW-3610/fix-circle-ci-for-vite-build --------- Co-authored-by: Shivam Mishra <scm.mymail@gmail.com> Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Pranav <pranav@chatwoot.com>
12 lines
393 B
SQL
12 lines
393 B
SQL
CREATE USER chatwoot CREATEDB;
|
|
ALTER USER chatwoot PASSWORD 'REPLACE_WITH_PASSWORD';
|
|
ALTER ROLE chatwoot SUPERUSER;
|
|
|
|
UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';
|
|
DROP DATABASE template1;
|
|
CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING = 'UNICODE';
|
|
UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1';
|
|
|
|
\c template1;
|
|
VACUUM FREEZE;
|