Refactor string clipping in frontend & backend

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer
2020-04-26 14:31:33 +02:00
parent b9a82d098e
commit 882340a14c
47 changed files with 189 additions and 147 deletions

View File

@@ -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