1
1
mirror of https://github.com/usememos/memos.git synced 2024-12-23 11:11:35 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Steven
d68da34eec refactor: migrate idp to driver 2023-09-26 19:17:17 +08:00
Athurg Gooth
d3a6fa50d6
chore: move sql code of Resource into driver ()
Move sql code of Resource into driver
2023-09-26 19:04:07 +08:00
Athurg Gooth
14ec524805
chore: move sql code of UserSetting into Driver ()
* Move SQL code of UserSetting into Driver

* Fix golang import issue
2023-09-26 19:02:48 +08:00
Athurg Gooth
fcba3ffa26
chore: move sql code of User into driver ()
Move SQL code of User into Driver
2023-09-26 18:23:45 +08:00
Athurg Gooth
41eba71f0f
chore: split sql to driver ()
* Add new database interface for SQL operations

* Move SQL code of Activity into Database

* Rename `Database` into `Driver`

* Move SQL code of SystemSetting into Driver

* Fix store.New in text code

* Change database into driver in the variables

* Change sqlite3.New into sqlite3.NewDriver
2023-09-26 17:16:58 +08:00