mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
path should be unique
This commit is contained in:
parent
ffa687c784
commit
ac335359d6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import ./users
|
|||
type File* = ref object of Model
|
||||
owner*: User
|
||||
path* {.unique.}: string
|
||||
name* {.unique.}: string
|
||||
name*: string
|
||||
tags*: string #? This is a temporary hack should be `seq[string]` or `JsonNode` instead
|
||||
|
||||
# creates a new file object and sets default values, recommended by the norm documentation
|
||||
|
|
Loading…
Add table
Reference in a new issue