feat: add models

This commit is contained in:
Rogee
2024-11-28 16:49:57 +08:00
parent 451192a2ca
commit 77e962b668
23 changed files with 995 additions and 235 deletions

View File

@@ -1,6 +1,6 @@
.PHONY: model
model:
rm -rf ./database/telegram_resource
jet -dsn=postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource?sslmode=disable -path=./database
rm -rf ./database/models/qvyun
jet -dsn=postgresql://postgres:xixi0202@10.1.1.3:5432/qvyun?sslmode=disable -path=./database/models
gofumpt -w -l -extra ./database