diff --git a/database/gdb/gdb_model.go b/database/gdb/gdb_model.go index 0e0f76084..df9597b0e 100644 --- a/database/gdb/gdb_model.go +++ b/database/gdb/gdb_model.go @@ -69,7 +69,7 @@ func (c *Core) Table(table string) *Model { fields: "*", start: -1, offset: -1, - safe: false, + safe: true, option: OPTION_ALLOWEMPTY, } } @@ -99,7 +99,7 @@ func (tx *TX) Table(table string) *Model { fields: "*", start: -1, offset: -1, - safe: false, + safe: true, option: OPTION_ALLOWEMPTY, } }