mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-05 03:27:27 +01:00
[#3113] added NoDecimal number field option
This commit is contained in:
1 parent
17974d534e
commit
916c74c218
38 files changed
+222
-140
No files matched your search
@@ -420,7 +420,8 @@ migrate((db) => {
|
||||
"unique": true,
|
||||
"options": {
|
||||
"min": 10,
|
||||
"max": null
|
||||
"max": null,
|
||||
"noDecimals": false
|
||||
}
|
||||
}))
|
||||
|
||||
@@ -475,7 +476,8 @@ migrate((db) => {
|
||||
"unique": true,
|
||||
"options": {
|
||||
"min": 10,
|
||||
"max": null
|
||||
"max": null,
|
||||
"noDecimals": false
|
||||
}
|
||||
}))
|
||||
|
||||
@@ -560,7 +562,8 @@ func init() {
|
||||
"unique": true,
|
||||
"options": {
|
||||
"min": 10,
|
||||
"max": null
|
||||
"max": null,
|
||||
"noDecimals": false
|
||||
}
|
||||
}` + "`" + `), edit_f2_name_new)
|
||||
collection.Schema.AddField(edit_f2_name_new)
|
||||
@@ -632,7 +635,8 @@ func init() {
|
||||
"unique": true,
|
||||
"options": {
|
||||
"min": 10,
|
||||
"max": null
|
||||
"max": null,
|
||||
"noDecimals": false
|
||||
}
|
||||
}` + "`" + `), edit_f2_name_new)
|
||||
collection.Schema.AddField(edit_f2_name_new)
|
||||
|
||||
Reference in new issue
Block a user