Commit graph

8 commits

Author SHA1 Message Date
David Harrigan
235cd0ad93 fix: postgres migration
Using postgres results in panic during migration due to "sqlite3" being
hard-coded as the db dialect for performing `ScriptMigration`.
This commit fixes this behavior by selecting the proper dialect from
config.
2025-02-22 20:13:35 -05:00
Mo Tarbin
c473627112 Add PointsHistory model for tracking points history 2025-01-18 09:51:13 -05:00
Mo Tarbin
8198829b73 chore: Remove unused migrationDir function and related imports
Support Migration using sql ( for future use)
2024-11-23 21:03:45 -05:00
Mo Tarbin
f49fc848e4 use embed File System for Migration script 2024-11-23 20:51:25 -05:00
Mo Tarbin
0c07b33359 Add Support for Advance Labels ( LabelV2)
Add Support for Custom Migration to keep supporting two database( sqlite and postgres)
Migration from Label to LabelV2
2024-11-23 20:29:53 -05:00
Mo Tarbin
33b3389384 Change to Sqlite driver that doesn't need CGO github.com/glebarez/sqlite 2024-07-25 01:35:25 -04:00
Mo Tarbin
2d538ff43c Update database configuration to support custom SQLite path 2024-07-09 18:31:10 -04:00
Mo Tarbin
c13dd9addb Move to Donetick Org, first commit 2024-06-30 21:41:41 -04:00