@nocobase/database 2.0.0-alpha.25 → 2.0.0-alpha.26

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.
@@ -162,6 +162,9 @@ const _SyncRunner = class _SyncRunner {
162
162
  }, "isJSONColumn");
163
163
  for (const columnName in columns) {
164
164
  const column = columns[columnName];
165
+ if (isJSONColumn(column) && this.database.inDialect("mysql")) {
166
+ continue;
167
+ }
165
168
  const isPrimaryKey = /* @__PURE__ */ __name(() => {
166
169
  const attribute = this.findAttributeByColumnName(columnName);
167
170
  return attribute && attribute.primaryKey || column.primaryKey;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nocobase/database",
3
- "version": "2.0.0-alpha.25",
3
+ "version": "2.0.0-alpha.26",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "AGPL-3.0",
8
8
  "dependencies": {
9
- "@nocobase/logger": "2.0.0-alpha.25",
10
- "@nocobase/utils": "2.0.0-alpha.25",
9
+ "@nocobase/logger": "2.0.0-alpha.26",
10
+ "@nocobase/utils": "2.0.0-alpha.26",
11
11
  "async-mutex": "^0.3.2",
12
12
  "chalk": "^4.1.1",
13
13
  "cron-parser": "4.4.0",
@@ -39,5 +39,5 @@
39
39
  "url": "git+https://github.com/nocobase/nocobase.git",
40
40
  "directory": "packages/database"
41
41
  },
42
- "gitHead": "8ce1972206272bd1723db193abd0425c532c5687"
42
+ "gitHead": "3f9e6825dfefabec9640dc46783955174275df04"
43
43
  }