a commit that changes nothing?

This commit is contained in:
wisplite
2025-10-29 00:24:50 -05:00
parent c77f7c175a
commit ccf644acef
13 changed files with 317 additions and 317 deletions
+9 -9
View File
@@ -1,9 +1,9 @@
package models
import "time"
type AccessToken struct {
Token string `gorm:"primaryKey"`
UserID string `gorm:"not null"`
Expires time.Time `gorm:"not null"`
}
package models
import "time"
type AccessToken struct {
Token string `gorm:"primaryKey"`
UserID string `gorm:"not null"`
Expires time.Time `gorm:"not null"`
}
+17 -17
View File
@@ -1,17 +1,17 @@
package models
import (
"time"
"gorm.io/datatypes"
)
type Album struct {
ID string `gorm:"primaryKey"`
Title string `gorm:"not null"`
Description string `gorm:"not null"`
Tags datatypes.JSON `gorm:"type:json"`
Private bool `gorm:"not null"`
CreatedAt time.Time
UpdatedAt time.Time
}
package models
import (
"time"
"gorm.io/datatypes"
)
type Album struct {
ID string `gorm:"primaryKey"`
Title string `gorm:"not null"`
Description string `gorm:"not null"`
Tags datatypes.JSON `gorm:"type:json"`
Private bool `gorm:"not null"`
CreatedAt time.Time
UpdatedAt time.Time
}
+13 -13
View File
@@ -1,13 +1,13 @@
package models
import "time"
type User struct {
ID string `gorm:"primaryKey"`
Username string `gorm:"not null"`
Password string `gorm:"not null"`
IsAdmin bool `gorm:"not null"`
IsActive bool `gorm:"not null"`
CreatedAt time.Time
UpdatedAt time.Time
}
package models
import "time"
type User struct {
ID string `gorm:"primaryKey"`
Username string `gorm:"not null"`
Password string `gorm:"not null"`
IsAdmin bool `gorm:"not null"`
IsActive bool `gorm:"not null"`
CreatedAt time.Time
UpdatedAt time.Time
}