tthr 0.0.38 → 0.0.39
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 +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -291,16 +291,14 @@ function parseSchema(source) {
|
|
|
291
291
|
notNull: true,
|
|
292
292
|
unique: true,
|
|
293
293
|
// Also set unique so ALTER TABLE adds UNIQUE constraint
|
|
294
|
-
hasDefault: false
|
|
295
|
-
isSystemColumn: true
|
|
294
|
+
hasDefault: false
|
|
296
295
|
};
|
|
297
296
|
columns["_createdAt"] = {
|
|
298
297
|
type: "timestamp",
|
|
299
298
|
primaryKey: false,
|
|
300
299
|
notNull: true,
|
|
301
300
|
unique: false,
|
|
302
|
-
hasDefault: true
|
|
303
|
-
isSystemColumn: true
|
|
301
|
+
hasDefault: true
|
|
304
302
|
};
|
|
305
303
|
tables.push({ name: tableName, columns, source: tableSource });
|
|
306
304
|
}
|