♻️ Migrate from gorm/sqlite to boltdb

This commit is contained in:
2024-04-24 12:51:37 +08:00
parent 3d3b4e0bea
commit 566965bb6a
12 changed files with 183 additions and 264 deletions

View File

@ -1,7 +1,7 @@
package model
type ShortLink struct {
Hash string `gorm:"primary_key"`
Hash string
Url string
Password string
LastRequestTime int64