add file upload logic (it's kinda broken rn)

This commit is contained in:
wisplite
2025-11-23 00:27:57 -06:00
parent f764e888d6
commit b61bd2f8d6
6 changed files with 102 additions and 20 deletions
+1
View File
@@ -23,6 +23,7 @@ func Init() bool {
&models.User{},
&models.AccessToken{},
&models.UserAlbumAccess{},
&models.Media{},
)
if err != nil {
log.Fatal("failed to migrate database: ", err)