@ronin/compiler 0.17.6-leo-ron-1099-experimental-390 → 0.17.6-leo-ron-1099-experimental-391
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -851,7 +851,7 @@ var handleTo = (models, model, statementParams, queryType, dependencyStatements,
|
|
851
851
|
const defaults = options?.inlineDefaults ? {
|
852
852
|
// If records are being created, set their creation time.
|
853
853
|
...queryType === "add" && { createdAt: currentTime },
|
854
|
-
// If records are being updated or
|
854
|
+
// If records are being updated or created, bump their update time.
|
855
855
|
updatedAt: currentTime,
|
856
856
|
// Allow for overwriting the default values provided above.
|
857
857
|
...toInstruction.ronin
|
package/package.json
CHANGED