Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 606960ee authored by Arnau Mora's avatar Arnau Mora Committed by GitHub
Browse files

Fix migrations (#133)



* Added calendar id to subscription

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Dao: use specific update methods

* Fixed calendar id removal

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Fixed calendar matching

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Added url to calendar properties

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Fixed calendar id find

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Fixed test

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Fixed subscription id fetching

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>

* Move LocalCalendar, LocalEvent to separate package

* Introduce MANAGED_BY_DB column to control migration

* Fix migration test

* Use NULL/NOT NULL for COLUMN_MANAGED_BY_DB

* Handle v2.1 migrations (don't double-migrate)

* Test migration from 2.0.3 and 2.1

* More logging during migration

* Improve migration tests

Also closes #135

---------

Signed-off-by: default avatarArnau Mora <arnyminer.z@gmail.com>
Co-authored-by: default avatarRicki Hirner <hirner@bitfire.at>
parent 34ab68d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment