drizzle-kit 0.20.14-1ebe0ff → 0.20.14-22fcd3b

Sign up to get free protection for your applications and to get access to all the features.
package/bin.cjs CHANGED
@@ -12481,7 +12481,7 @@ ${withStyle.errorWarning(
12481
12481
  END AS data_type, INFORMATION_SCHEMA.COLUMNS.table_name, INFORMATION_SCHEMA.COLUMNS.column_name, INFORMATION_SCHEMA.COLUMNS.column_default, INFORMATION_SCHEMA.COLUMNS.data_type as additional_dt
12482
12482
  FROM pg_attribute a
12483
12483
  JOIN INFORMATION_SCHEMA.COLUMNS ON INFORMATION_SCHEMA.COLUMNS.column_name = a.attname
12484
- WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}' and INFORMATION_SCHEMA.COLUMNS.table_schema = '${tableSchema}'
12484
+ WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}'
12485
12485
  AND a.attnum > 0
12486
12486
  AND NOT a.attisdropped
12487
12487
  ORDER BY a.attnum;`
@@ -62109,7 +62109,7 @@ var package_default = {
62109
62109
  scripts: {
62110
62110
  "test:pg:push": "drizzle-kit push:pg",
62111
62111
  payload: "tsx ./dev/payload.ts",
62112
- "migrate:old": "drizzle-kit generate:pg --out ./dev/migrations-pg --schema ./dev/migrations-pg/schema2.ts",
62112
+ "migrate:old": "drizzle-kit generate:mysql",
62113
62113
  push: "node -r esbuild-register ./src/cli/index.ts push:mysql",
62114
62114
  "push:sqlite": "node -r ./src/loader.mjs ./src/cli/index.ts push:sqlite",
62115
62115
  try1: "tsx ./src/t.ts",
@@ -62172,7 +62172,7 @@ var package_default = {
62172
62172
  },
62173
62173
  devDependencies: {
62174
62174
  "@cloudflare/workers-types": "^4.20230518.0",
62175
- "@libsql/client": "^0.4.2",
62175
+ "@libsql/client": "^0.1.6",
62176
62176
  "@types/better-sqlite3": "^7.6.4",
62177
62177
  "@types/dockerode": "^3.3.14",
62178
62178
  "@types/glob": "^8.1.0",
@@ -62186,7 +62186,8 @@ var package_default = {
62186
62186
  "better-sqlite3": "^8.4.0",
62187
62187
  dockerode: "^3.3.4",
62188
62188
  dotenv: "^16.0.3",
62189
- "drizzle-orm": "0.29.0",
62189
+ "drizzle-kit": "0.19.13",
62190
+ "drizzle-orm": "0.29.3",
62190
62191
  "esbuild-node-externals": "^1.9.0",
62191
62192
  eslint: "^8.29.0",
62192
62193
  "eslint-config-prettier": "^8.5.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.14-1ebe0ff",
3
+ "version": "0.20.14-22fcd3b",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "scripts": {
11
11
  "test:pg:push": "drizzle-kit push:pg",
12
12
  "payload": "tsx ./dev/payload.ts",
13
- "migrate:old": "drizzle-kit generate:pg --out ./dev/migrations-pg --schema ./dev/migrations-pg/schema2.ts",
13
+ "migrate:old": "drizzle-kit generate:mysql",
14
14
  "push": "node -r esbuild-register ./src/cli/index.ts push:mysql",
15
15
  "push:sqlite": "node -r ./src/loader.mjs ./src/cli/index.ts push:sqlite",
16
16
  "try1": "tsx ./src/t.ts",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@cloudflare/workers-types": "^4.20230518.0",
76
- "@libsql/client": "^0.4.2",
76
+ "@libsql/client": "^0.1.6",
77
77
  "@types/better-sqlite3": "^7.6.4",
78
78
  "@types/dockerode": "^3.3.14",
79
79
  "@types/glob": "^8.1.0",
@@ -87,7 +87,8 @@
87
87
  "better-sqlite3": "^8.4.0",
88
88
  "dockerode": "^3.3.4",
89
89
  "dotenv": "^16.0.3",
90
- "drizzle-orm": "0.29.0",
90
+ "drizzle-kit": "0.19.13",
91
+ "drizzle-orm": "0.29.3",
91
92
  "esbuild-node-externals": "^1.9.0",
92
93
  "eslint": "^8.29.0",
93
94
  "eslint-config-prettier": "^8.5.0",
package/utils-studio.js CHANGED
@@ -1631,7 +1631,7 @@ var init_pgSerializer = __esm({
1631
1631
  END AS data_type, INFORMATION_SCHEMA.COLUMNS.table_name, INFORMATION_SCHEMA.COLUMNS.column_name, INFORMATION_SCHEMA.COLUMNS.column_default, INFORMATION_SCHEMA.COLUMNS.data_type as additional_dt
1632
1632
  FROM pg_attribute a
1633
1633
  JOIN INFORMATION_SCHEMA.COLUMNS ON INFORMATION_SCHEMA.COLUMNS.column_name = a.attname
1634
- WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}' and INFORMATION_SCHEMA.COLUMNS.table_schema = '${tableSchema}'
1634
+ WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}'
1635
1635
  AND a.attnum > 0
1636
1636
  AND NOT a.attisdropped
1637
1637
  ORDER BY a.attnum;`
package/utils-studio.mjs CHANGED
@@ -1640,7 +1640,7 @@ var init_pgSerializer = __esm({
1640
1640
  END AS data_type, INFORMATION_SCHEMA.COLUMNS.table_name, INFORMATION_SCHEMA.COLUMNS.column_name, INFORMATION_SCHEMA.COLUMNS.column_default, INFORMATION_SCHEMA.COLUMNS.data_type as additional_dt
1641
1641
  FROM pg_attribute a
1642
1642
  JOIN INFORMATION_SCHEMA.COLUMNS ON INFORMATION_SCHEMA.COLUMNS.column_name = a.attname
1643
- WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}' and INFORMATION_SCHEMA.COLUMNS.table_schema = '${tableSchema}'
1643
+ WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}'
1644
1644
  AND a.attnum > 0
1645
1645
  AND NOT a.attisdropped
1646
1646
  ORDER BY a.attnum;`
package/utils.js CHANGED
@@ -12206,7 +12206,7 @@ ${withStyle.errorWarning(
12206
12206
  END AS data_type, INFORMATION_SCHEMA.COLUMNS.table_name, INFORMATION_SCHEMA.COLUMNS.column_name, INFORMATION_SCHEMA.COLUMNS.column_default, INFORMATION_SCHEMA.COLUMNS.data_type as additional_dt
12207
12207
  FROM pg_attribute a
12208
12208
  JOIN INFORMATION_SCHEMA.COLUMNS ON INFORMATION_SCHEMA.COLUMNS.column_name = a.attname
12209
- WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}' and INFORMATION_SCHEMA.COLUMNS.table_schema = '${tableSchema}'
12209
+ WHERE a.attrelid = '"${tableSchema}"."${tableName}"'::regclass and INFORMATION_SCHEMA.COLUMNS.table_name = '${tableName}'
12210
12210
  AND a.attnum > 0
12211
12211
  AND NOT a.attisdropped
12212
12212
  ORDER BY a.attnum;`