restore crc32 checksum for the colelction and field ids

This commit is contained in:
Gani Georgiev committed 2024-11-04 10:51:32 +02:00
1 parent 83d91b3dd5
commit 8d0e4a0460
3 files changed
+81 -36

No files matched your search

+4
View File
@@ -65,6 +65,10 @@ type optionsValidator interface {
}
func (validator *collectionValidator) run() error {
if validator.original.IsNew() {
validator.new.updateGeneratedIdIfExists(validator.app)
}
// generate fields from the query (overwriting any explicit user defined fields)
if validator.new.IsView() {
validator.new.Fields, _ = validator.app.CreateViewFields(validator.new.ViewQuery)