Initial open source release
This commit is contained in:
commit
74992e893f
377 changed files with 118084 additions and 0 deletions
21
deploy/migrations/0016_delete_message_updates.down.sql
Normal file
21
deploy/migrations/0016_delete_message_updates.down.sql
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
DROP INDEX IF EXISTS message_boxes_private_sender_live_idx;
|
||||
|
||||
ALTER TABLE user_update_events
|
||||
DROP CONSTRAINT IF EXISTS user_update_events_type_check;
|
||||
|
||||
ALTER TABLE user_update_events
|
||||
ADD CONSTRAINT user_update_events_type_check CHECK (
|
||||
event_type IN (
|
||||
'new_message',
|
||||
'read_history_inbox',
|
||||
'contacts_reset',
|
||||
'dialog_pinned',
|
||||
'pinned_dialogs',
|
||||
'dialog_unread_mark',
|
||||
'peer_settings',
|
||||
'noop'
|
||||
)
|
||||
);
|
||||
|
||||
ALTER TABLE user_update_events
|
||||
DROP COLUMN IF EXISTS message_ids;
|
||||
Loading…
Add table
Add a link
Reference in a new issue