Skip to content

Commit 2ec7642

Browse files
committed
chore: update postgres schema
1 parent b7c3cfd commit 2ec7642

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

postgres-init.sql

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 15.3
5+
-- Dumped from database version 15.5
66
-- Dumped by pg_dump version 15.3
77

88
SET statement_timeout = 0;
@@ -135,7 +135,8 @@ CREATE TABLE public.group_members (
135135
role text NOT NULL,
136136
encrypted_internal_keyring bytea NOT NULL,
137137
last_activity_date timestamp with time zone DEFAULT now() NOT NULL,
138-
encrypted_name bytea
138+
encrypted_name bytea,
139+
encrypted_name_for_user bytea
139140
);
140141

141142

@@ -156,7 +157,8 @@ CREATE TABLE public.groups (
156157
access_keyring bytea,
157158
encrypted_content_keyring bytea NOT NULL,
158159
permanent_deletion_date timestamp with time zone,
159-
encrypted_rehashed_password_hash bytea
160+
encrypted_rehashed_password_hash bytea,
161+
are_join_requests_allowed boolean DEFAULT true NOT NULL
160162
);
161163

162164

@@ -306,7 +308,8 @@ CREATE TABLE public.users (
306308
encrypted_recovery_codes bytea,
307309
demo boolean,
308310
email_hash bytea NOT NULL,
309-
encrypted_rehashed_login_hash bytea NOT NULL
311+
encrypted_rehashed_login_hash bytea NOT NULL,
312+
new boolean DEFAULT true NOT NULL
310313
);
311314

312315

0 commit comments

Comments
 (0)