Commit Graph

14 Commits

Author SHA1 Message Date
Abdullah Atta
c09715d053 core: make item migration fall through all db versions
this was not exactly a bug but it can cause a lot of unintended
behaviour. Previously, you'd have to manually specify which version the
item migration should jump to. This was buggy and poorly designed.
This change makes the item iterate over all the db migrations one by one
automatically.

For example:

An item at version 5.2 will go through:
- 5.3
- 5.4
- and so on
2022-10-13 19:18:52 +05:00
Abdullah Atta
6469c6d689 core: forcefully set item type to tiptap if it is content 2022-09-29 16:59:43 +05:00
Abdullah Atta
7c99c3acb9 core: add migrations for notebooks & settings (#1020) 2022-09-21 11:47:09 +05:00
Abdullah Atta
d81f5dba65 refactor: migrate to theme-ui from rebass 2022-08-31 07:26:27 +05:00
Abdullah Atta
c317774c8a docs: add license header 2022-08-30 16:17:04 +05:00
thecodrr
d3e77a9063 feat: remove migrated property 2022-07-20 08:33:50 +05:00
thecodrr
4135028137 feat: improve sync over websockets 2022-03-30 15:52:48 +05:00
thecodrr
d3b106094e refactor: migrate in serial 2021-07-06 12:13:35 +05:00
thecodrr
3e3b4220e7 fix: duplicate colors and indices 2021-02-18 19:46:44 +05:00
thecodrr
b5a0b9e649 feat: remove trash collection 2021-02-16 16:56:06 +05:00
thecodrr
4fa53ba9c0 feat: migrate from delta to tiny 2021-02-02 12:24:54 +05:00
thecodrr
5bb50b4e80 fix: some notes from backup not being restored 2020-12-29 14:08:48 +05:00
thecodrr
d220d05c1f feat: add migration on sync 2020-12-06 11:13:17 +05:00
thecodrr
048c74816a refactor: use a single migration backend 2020-12-06 10:52:00 +05:00