@mastra/pg 1.0.0-beta.7 → 1.0.0-beta.8
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/CHANGELOG.md +44 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +2 -8
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -8
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +2 -3
package/dist/index.js
CHANGED
|
@@ -3325,7 +3325,7 @@ var StoreOperationsPG = class extends StoreOperations {
|
|
|
3325
3325
|
const constraints = [];
|
|
3326
3326
|
if (def.primaryKey) constraints.push("PRIMARY KEY");
|
|
3327
3327
|
if (!def.nullable) constraints.push("NOT NULL");
|
|
3328
|
-
return `"${parsedName}" ${def.type
|
|
3328
|
+
return `"${parsedName}" ${this.getSqlType(def.type)} ${constraints.join(" ")}`;
|
|
3329
3329
|
});
|
|
3330
3330
|
if (this.schemaName) {
|
|
3331
3331
|
await this.setupSchema();
|