mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Implement data model changes to support new WebDAV Push spec
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE davpush_subscriptions
|
||||
DROP public_key,
|
||||
DROP public_key_type,
|
||||
DROP auth_secret;
|
||||
@@ -0,0 +1,7 @@
|
||||
-- Old subscriptions are useless anyway
|
||||
DELETE FROM davpush_subscriptions;
|
||||
|
||||
-- Now the new columns can also be set NOT NULL
|
||||
ALTER TABLE davpush_subscriptions ADD public_key TEXT NOT NULL;
|
||||
ALTER TABLE davpush_subscriptions ADD public_key_type TEXT NOT NULL;
|
||||
ALTER TABLE davpush_subscriptions ADD auth_secret TEXT NOT NULL;
|
||||
Reference in New Issue
Block a user