diff --git a/storage/init.sql b/storage/init.sql index 776130f..8a419a5 100644 --- a/storage/init.sql +++ b/storage/init.sql @@ -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,