mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Refactor string clipping in frontend & backend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
@@ -17,7 +17,7 @@ const (
|
||||
|
||||
// FileSync represents a one-to-many relation between File and Account for syncing with remote services.
|
||||
type FileSync struct {
|
||||
RemoteName string `gorm:"primary_key;auto_increment:false;type:varbinary(256)"`
|
||||
RemoteName string `gorm:"primary_key;auto_increment:false;type:varbinary(255)"`
|
||||
AccountID uint `gorm:"primary_key;auto_increment:false"`
|
||||
FileID uint `gorm:"index;"`
|
||||
RemoteDate time.Time
|
||||
|
||||
Reference in New Issue
Block a user