drizzle-kit 1.0.0-beta.1-19a7308 → 1.0.0-beta.1-199e5ec
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/api.js +7 -7
- package/api.mjs +7 -7
- package/bin.cjs +1 -1
- package/package.json +1 -1
package/api.js
CHANGED
@@ -30441,18 +30441,18 @@ var init_schema = __esm({
|
|
30441
30441
|
__publicField(this, "materializedView", (name2, columns) => {
|
30442
30442
|
return pgMaterializedViewWithSchema(name2, columns, this.schemaName);
|
30443
30443
|
});
|
30444
|
-
__publicField(this, "enum", (enumName, input) => {
|
30445
|
-
return Array.isArray(input) ? pgEnumWithSchema(
|
30446
|
-
enumName,
|
30447
|
-
[...input],
|
30448
|
-
this.schemaName
|
30449
|
-
) : pgEnumObjectWithSchema(enumName, input, this.schemaName);
|
30450
|
-
});
|
30451
30444
|
__publicField(this, "sequence", (name2, options) => {
|
30452
30445
|
return pgSequenceWithSchema(name2, options, this.schemaName);
|
30453
30446
|
});
|
30454
30447
|
this.schemaName = schemaName;
|
30455
30448
|
}
|
30449
|
+
enum(enumName, input) {
|
30450
|
+
return Array.isArray(input) ? pgEnumWithSchema(
|
30451
|
+
enumName,
|
30452
|
+
[...input],
|
30453
|
+
this.schemaName
|
30454
|
+
) : pgEnumObjectWithSchema(enumName, input, this.schemaName);
|
30455
|
+
}
|
30456
30456
|
getSQL() {
|
30457
30457
|
return new SQL([sql.identifier(this.schemaName)]);
|
30458
30458
|
}
|
package/api.mjs
CHANGED
@@ -30446,18 +30446,18 @@ var init_schema = __esm({
|
|
30446
30446
|
__publicField(this, "materializedView", (name2, columns) => {
|
30447
30447
|
return pgMaterializedViewWithSchema(name2, columns, this.schemaName);
|
30448
30448
|
});
|
30449
|
-
__publicField(this, "enum", (enumName, input) => {
|
30450
|
-
return Array.isArray(input) ? pgEnumWithSchema(
|
30451
|
-
enumName,
|
30452
|
-
[...input],
|
30453
|
-
this.schemaName
|
30454
|
-
) : pgEnumObjectWithSchema(enumName, input, this.schemaName);
|
30455
|
-
});
|
30456
30449
|
__publicField(this, "sequence", (name2, options) => {
|
30457
30450
|
return pgSequenceWithSchema(name2, options, this.schemaName);
|
30458
30451
|
});
|
30459
30452
|
this.schemaName = schemaName;
|
30460
30453
|
}
|
30454
|
+
enum(enumName, input) {
|
30455
|
+
return Array.isArray(input) ? pgEnumWithSchema(
|
30456
|
+
enumName,
|
30457
|
+
[...input],
|
30458
|
+
this.schemaName
|
30459
|
+
) : pgEnumObjectWithSchema(enumName, input, this.schemaName);
|
30460
|
+
}
|
30461
30461
|
getSQL() {
|
30462
30462
|
return new SQL([sql.identifier(this.schemaName)]);
|
30463
30463
|
}
|
package/bin.cjs
CHANGED
@@ -92319,7 +92319,7 @@ init_utils5();
|
|
92319
92319
|
var version2 = async () => {
|
92320
92320
|
const { npmVersion } = await ormCoreVersions();
|
92321
92321
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
92322
|
-
const envVersion = "1.0.0-beta.1-
|
92322
|
+
const envVersion = "1.0.0-beta.1-199e5ec";
|
92323
92323
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
92324
92324
|
const versions = `drizzle-kit: ${kitVersion}
|
92325
92325
|
${ormVersion}`;
|