drizzle-kit 0.9.46 → 0.9.47

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -163968,7 +163968,7 @@ var CreateIndexConvertor = class extends Convertor {
163968
163968
  convert(statement) {
163969
163969
  const { tableName, indexName, value } = statement;
163970
163970
  const indexPart = statement.isUnique ? "UNIQUE INDEX" : "INDEX";
163971
- return `CREATE ${indexPart} IF NOT EXISTS ${indexName} ON ${tableName} (${value});`;
163971
+ return `CREATE ${indexPart} IF NOT EXISTS ${indexName} ON ${tableName} ("${value}");`;
163972
163972
  }
163973
163973
  };
163974
163974
  var DropIndexConvertor = class extends Convertor {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.9.46",
3
+ "version": "0.9.47",
4
4
  "author": "Alex Blokh <aleksandrblokh@gmail.com>",
5
5
  "license": "MIT",
6
6
  "bin": {