Skip to content

Commit

Permalink
new init.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
gaskeo committed Oct 25, 2022
1 parent a2aa363 commit 93e226f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions storage/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ CREATE TABLE messages
content bytea
);

CREATE TABLE user_types (
type_id integer NOT NULL,
name character varying(32),
max_channel_count integer NOT NULL,
max_message_size integer NOT NULL,
bufferization boolean NOT NULL,
max_bufferred_message_count integer NOT NULL,
buffered_data_persistency integer NOT NULL,
end_to_end_data_encryption boolean NOT NULL
);

INSERT INTO user_types (name,
max_channel_count,
max_message_size,
Expand Down

0 comments on commit 93e226f

Please sign in to comment.