drizzle-kit 0.22.1 → 0.22.2

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/bin.cjs CHANGED
@@ -9020,7 +9020,7 @@ var init_pgSchema = __esm({
9020
9020
  squashIdx: (idx) => {
9021
9021
  index2.parse(idx);
9022
9022
  return `${idx.name};${idx.columns.map(
9023
- (c) => `${c.expression},${c.isExpression},${c.asc},${c.nulls},${c.opclass}`
9023
+ (c) => `${c.expression}--${c.isExpression}--${c.asc}--${c.nulls}--${c.opclass}`
9024
9024
  ).join(",,")};${idx.isUnique};${idx.concurrently};${idx.method};${idx.where};${JSON.stringify(idx.with)}`;
9025
9025
  },
9026
9026
  unsquashIdx: (input) => {
@@ -9036,7 +9036,7 @@ var init_pgSchema = __esm({
9036
9036
  const columnString = columnsString.split(",,");
9037
9037
  const columns = [];
9038
9038
  for (const column7 of columnString) {
9039
- const [expression, isExpression, asc, nulls, opclass] = column7.split(",");
9039
+ const [expression, isExpression, asc, nulls, opclass] = column7.split("--");
9040
9040
  columns.push({
9041
9041
  nulls,
9042
9042
  isExpression: isExpression === "true",
@@ -129558,7 +129558,7 @@ var printVersions = async () => {
129558
129558
  var versions = async () => {
129559
129559
  const { npmVersion } = await ormCoreVersions();
129560
129560
  const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
129561
- const envVersion = "0.22.1";
129561
+ const envVersion = "0.22.2";
129562
129562
  const kitVersion = envVersion ? `v${envVersion}` : "--";
129563
129563
  const versions2 = `drizzle-kit: ${kitVersion}
129564
129564
  ${ormVersion}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
package/payload.js CHANGED
@@ -15153,7 +15153,7 @@ var init_pgSchema = __esm({
15153
15153
  squashIdx: (idx) => {
15154
15154
  index2.parse(idx);
15155
15155
  return `${idx.name};${idx.columns.map(
15156
- (c) => `${c.expression},${c.isExpression},${c.asc},${c.nulls},${c.opclass}`
15156
+ (c) => `${c.expression}--${c.isExpression}--${c.asc}--${c.nulls}--${c.opclass}`
15157
15157
  ).join(",,")};${idx.isUnique};${idx.concurrently};${idx.method};${idx.where};${JSON.stringify(idx.with)}`;
15158
15158
  },
15159
15159
  unsquashIdx: (input) => {
@@ -15169,7 +15169,7 @@ var init_pgSchema = __esm({
15169
15169
  const columnString = columnsString.split(",,");
15170
15170
  const columns = [];
15171
15171
  for (const column4 of columnString) {
15172
- const [expression, isExpression, asc2, nulls, opclass] = column4.split(",");
15172
+ const [expression, isExpression, asc2, nulls, opclass] = column4.split("--");
15173
15173
  columns.push({
15174
15174
  nulls,
15175
15175
  isExpression: isExpression === "true",
package/payload.mjs CHANGED
@@ -15159,7 +15159,7 @@ var init_pgSchema = __esm({
15159
15159
  squashIdx: (idx) => {
15160
15160
  index2.parse(idx);
15161
15161
  return `${idx.name};${idx.columns.map(
15162
- (c) => `${c.expression},${c.isExpression},${c.asc},${c.nulls},${c.opclass}`
15162
+ (c) => `${c.expression}--${c.isExpression}--${c.asc}--${c.nulls}--${c.opclass}`
15163
15163
  ).join(",,")};${idx.isUnique};${idx.concurrently};${idx.method};${idx.where};${JSON.stringify(idx.with)}`;
15164
15164
  },
15165
15165
  unsquashIdx: (input) => {
@@ -15175,7 +15175,7 @@ var init_pgSchema = __esm({
15175
15175
  const columnString = columnsString.split(",,");
15176
15176
  const columns = [];
15177
15177
  for (const column4 of columnString) {
15178
- const [expression, isExpression, asc2, nulls, opclass] = column4.split(",");
15178
+ const [expression, isExpression, asc2, nulls, opclass] = column4.split("--");
15179
15179
  columns.push({
15180
15180
  nulls,
15181
15181
  isExpression: isExpression === "true",