Replace FS with Sqlite #20

Merged
pleshevskiy merged 8 commits from sqlite into main 2022-08-20 15:42:20 +03:00
Owner
  • Deps: add rusqlite
  • Deps: add time
  • Add created_at to the domain Task
  • Add schema and first migration
  • Check current version and run migration
  • Implement Repository trait
  • Add script to migrate from FS implementation

Closes #5
Closes #19

- [x] Deps: add rusqlite - [x] Deps: add time - [x] Add created_at to the domain Task - [x] Add schema and first migration - [x] Check current version and run migration - [x] Implement Repository trait - [x] Add script to migrate from FS implementation Closes #5 Closes #19
pleshevskiy added 1 commit 2022-08-16 23:37:31 +03:00
pleshevskiy force-pushed sqlite from 58fc074301 to 93d6db2460 2022-08-17 09:00:14 +03:00 Compare
pleshevskiy force-pushed sqlite from 93d6db2460 to b38868fecc 2022-08-17 09:22:29 +03:00 Compare
pleshevskiy added 1 commit 2022-08-17 10:30:09 +03:00
b1059b34aa
repo/sqlite: add task struct
- repo/sqlite: add method to get active tasks
pleshevskiy force-pushed sqlite from b1059b34aa to 8c706d63fb 2022-08-18 12:19:46 +03:00 Compare
pleshevskiy force-pushed sqlite from 8c706d63fb to e409a2b632 2022-08-18 14:15:05 +03:00 Compare
pleshevskiy force-pushed sqlite from e409a2b632 to da7661fe52 2022-08-18 17:18:18 +03:00 Compare
pleshevskiy force-pushed sqlite from da7661fe52 to 916114bea5 2022-08-19 16:48:14 +03:00 Compare
pleshevskiy force-pushed sqlite from 916114bea5 to 78cbc633c4 2022-08-19 18:02:29 +03:00 Compare
pleshevskiy added 1 commit 2022-08-19 19:06:10 +03:00
a6cb3c7804
repo/sqlite: implement methods
- get list
- get one
- insert
- remove
pleshevskiy added 1 commit 2022-08-19 23:01:24 +03:00
pleshevskiy added 1 commit 2022-08-20 15:24:38 +03:00
pleshevskiy added 1 commit 2022-08-20 15:28:14 +03:00
pleshevskiy added 1 commit 2022-08-20 15:41:32 +03:00
pleshevskiy changed title from [WIP]: Replace FS with Sqlite to Replace FS with Sqlite 2022-08-20 15:41:58 +03:00
pleshevskiy merged commit eb78dad91a into main 2022-08-20 15:42:20 +03:00
pleshevskiy deleted branch sqlite 2022-08-20 15:42:20 +03:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pleshevskiy/tas#20
No description provided.