@@ -0,0 +1,14 @@
|
||||
BEGIN;
|
||||
|
||||
DELETE FROM web_event WHERE event_type='device.binding.reset';
|
||||
|
||||
ALTER TABLE web_event DROP CONSTRAINT web_event_event_type_check;
|
||||
ALTER TABLE web_event ADD CONSTRAINT web_event_event_type_check CHECK (event_type IN (
|
||||
'device.presence.changed',
|
||||
'conversation.started','conversation.completed','conversation.failed',
|
||||
'story.created','story.revised','media.upload.completed','export.ready',
|
||||
'privacy_request.updated','device.command.updated'));
|
||||
|
||||
ALTER TABLE device DROP COLUMN IF EXISTS factory_reset_counter;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user