mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-01-08 09:14:37 +02:00
updated migration timestamp
This commit is contained in:
parent
40830b6c43
commit
19ad827302
@ -36,6 +36,10 @@ func init() {
|
||||
|
||||
var isMultiRelLiteral func(mainCollection *models.Collection, literal string) bool
|
||||
isMultiRelLiteral = func(mainCollection *models.Collection, literal string) bool {
|
||||
if strings.HasPrefix(literal, "@collection.") {
|
||||
return true
|
||||
}
|
||||
|
||||
if strings.HasPrefix(literal, `"`) ||
|
||||
strings.HasPrefix(literal, `'`) ||
|
||||
strings.HasPrefix(literal, "@request.method") ||
|
||||
@ -44,10 +48,6 @@ func init() {
|
||||
return false
|
||||
}
|
||||
|
||||
if strings.HasPrefix(literal, "@collection.") {
|
||||
return true
|
||||
}
|
||||
|
||||
parts := strings.Split(literal, ".")
|
||||
if len(parts) <= 1 {
|
||||
return false
|
Loading…
Reference in New Issue
Block a user