mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-24 06:50:25 +02:00
updated scaffold apis to use random id during the collections initialization and made index columns check on the UI case insensitive
This commit is contained in:
1 parent
5e67ec1c1c
commit
cc902f2df8
32 files changed
+50
-46
No files matched your search
@@ -1062,7 +1062,7 @@ func (c *Collection) fieldIndexName(field string) string {
|
||||
} else if c.Name != "" {
|
||||
name += c.Name
|
||||
} else {
|
||||
name += security.PseudorandomString(10)
|
||||
name += security.PseudorandomStringWithAlphabet(10, DefaultIdAlphabet)
|
||||
}
|
||||
|
||||
if len(name) > 64 {
|
||||
|
||||
Reference in new issue
Block a user