@tachybase/module-event-source 1.2.10 → 1.2.11

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.
@@ -1,16 +1,16 @@
1
1
  module.exports = {
2
- "@tachybase/client": "1.2.10",
3
- "@tachybase/utils": "1.2.10",
4
- "@tachybase/server": "1.2.10",
5
- "@tachybase/module-workflow": "1.2.10",
6
- "@tachybase/schema": "1.2.10",
2
+ "@tachybase/client": "1.2.11",
3
+ "@tachybase/utils": "1.2.11",
4
+ "@tachybase/server": "1.2.11",
5
+ "@tachybase/module-workflow": "1.2.11",
6
+ "@tachybase/schema": "1.2.11",
7
7
  "react": "18.3.1",
8
- "@tachybase/components": "1.2.10",
8
+ "@tachybase/components": "1.2.11",
9
9
  "antd": "5.22.5",
10
- "@tachybase/actions": "1.2.10",
10
+ "@tachybase/actions": "1.2.11",
11
11
  "sequelize": "6.37.5",
12
- "@tachybase/database": "1.2.10",
13
- "@tachybase/data-source": "1.2.10",
14
- "@tachybase/resourcer": "1.2.10",
12
+ "@tachybase/database": "1.2.11",
13
+ "@tachybase/data-source": "1.2.11",
14
+ "@tachybase/resourcer": "1.2.11",
15
15
  "lodash": "4.17.21"
16
16
  };
@@ -30,6 +30,11 @@ class refactor_default extends import_server.Migration {
30
30
  this.appVersion = "<0.23.46";
31
31
  }
32
32
  async up() {
33
+ const tables = await this.db.sequelize.getQueryInterface().showAllTables();
34
+ if (!tables.includes("webhooks")) {
35
+ this.app.logger.info(`[migration skipped] table webhooks does not exist`);
36
+ return;
37
+ }
33
38
  const sql = `
34
39
  UPDATE "webhooks"
35
40
  SET "options" = jsonb_build_object(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/module-event-source",
3
3
  "displayName": "Event Source",
4
- "version": "1.2.10",
4
+ "version": "1.2.11",
5
5
  "description": "Registering and managing custom event sources.",
6
6
  "keywords": [
7
7
  "System management"
@@ -15,17 +15,17 @@
15
15
  "sequelize": "6.37.5"
16
16
  },
17
17
  "peerDependencies": {
18
- "@tachybase/client": "1.2.10",
19
- "@tachybase/components": "1.2.10",
20
- "@tachybase/actions": "1.2.10",
21
- "@tachybase/data-source": "1.2.10",
22
- "@tachybase/database": "1.2.10",
23
- "@tachybase/resourcer": "1.2.10",
24
- "@tachybase/module-workflow": "1.2.10",
25
- "@tachybase/server": "1.2.10",
26
- "@tachybase/utils": "1.2.10",
27
- "@tachybase/test": "1.2.10",
28
- "@tachybase/schema": "1.2.10"
18
+ "@tachybase/actions": "1.2.11",
19
+ "@tachybase/client": "1.2.11",
20
+ "@tachybase/components": "1.2.11",
21
+ "@tachybase/data-source": "1.2.11",
22
+ "@tachybase/database": "1.2.11",
23
+ "@tachybase/module-workflow": "1.2.11",
24
+ "@tachybase/resourcer": "1.2.11",
25
+ "@tachybase/schema": "1.2.11",
26
+ "@tachybase/server": "1.2.11",
27
+ "@tachybase/test": "1.2.11",
28
+ "@tachybase/utils": "1.2.11"
29
29
  },
30
30
  "description.zh-CN": "注册和管理自定义事件源",
31
31
  "displayName.zh-CN": "事件源",