@abtnode/models 1.16.8-next-ce3ef4cf → 1.16.9-beta-3c3e008a

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.
@@ -7,14 +7,12 @@ function createSiteModel() {
7
7
  var _a;
8
8
  return _a = class Site extends sequelize_1.Model {
9
9
  static initialize(sequelize) {
10
- this.init(
11
- // @ts-ignore
12
- {
10
+ this.init({
13
11
  ...this.GENESIS_ATTRIBUTES,
14
12
  // This column is added in migration script
15
- // port: {
16
- // type: DataTypes.INTEGER,
17
- // },
13
+ port: {
14
+ type: sequelize_1.DataTypes.INTEGER,
15
+ },
18
16
  }, {
19
17
  sequelize,
20
18
  modelName: 'Site',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/models",
3
- "version": "1.16.8-next-ce3ef4cf",
3
+ "version": "1.16.9-beta-3c3e008a",
4
4
  "description": "Sequelize models for blocklet server and blocklet service",
5
5
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
6
6
  "publishConfig": {
@@ -32,8 +32,8 @@
32
32
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@abtnode/logger": "1.16.8-next-ce3ef4cf",
36
- "@abtnode/types": "1.16.8-next-ce3ef4cf",
35
+ "@abtnode/logger": "1.16.9-beta-3c3e008a",
36
+ "@abtnode/types": "1.16.9-beta-3c3e008a",
37
37
  "@nedb/core": "^2.1.5",
38
38
  "lodash.clonedeep": "^4.5.0",
39
39
  "lodash.get": "^4.4.2",
@@ -54,5 +54,5 @@
54
54
  "typescript": "^5.0.4"
55
55
  },
56
56
  "resolutions": {},
57
- "gitHead": "82b041a2c08a097de43dd0de0453caf109400eff"
57
+ "gitHead": "fe7185f5d5e6c58e862a4c7601c59ce7d7b6ef03"
58
58
  }