Initial open source release
This commit is contained in:
commit
74992e893f
377 changed files with 118084 additions and 0 deletions
15
deploy/migrations/0007_read_history_events.down.sql
Normal file
15
deploy/migrations/0007_read_history_events.down.sql
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
ALTER TABLE update_events
|
||||
DROP CONSTRAINT IF EXISTS update_events_peer_type_check;
|
||||
|
||||
ALTER TABLE update_events
|
||||
DROP CONSTRAINT IF EXISTS update_events_type_check;
|
||||
|
||||
ALTER TABLE update_events
|
||||
ADD CONSTRAINT update_events_type_check
|
||||
CHECK (event_type IN ('new_message'));
|
||||
|
||||
ALTER TABLE update_events
|
||||
DROP COLUMN IF EXISTS still_unread_count,
|
||||
DROP COLUMN IF EXISTS max_id,
|
||||
DROP COLUMN IF EXISTS peer_id,
|
||||
DROP COLUMN IF EXISTS peer_type;
|
||||
Loading…
Add table
Add a link
Reference in a new issue