q-koa 13.3.8 → 13.3.9

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.
@@ -104,9 +104,10 @@ exports.countAndMaxId = async (ctx, _data) => {
104
104
 
105
105
  const mapper = {
106
106
  TINYINT: 255,
107
- SMALLINIT: 65535,
107
+ SMALLINT: 65535,
108
108
  MEDIUMINT: 16777215,
109
109
  INT: 4294967295,
110
+ BIGINT: 18446744073709551615,
110
111
  }
111
112
  let availableId = 0
112
113
  for (const _type in mapper) {
@@ -1056,6 +1057,6 @@ exports.changeIdType = async (ctx) => {
1056
1057
  // ctx.SUCCESS(query)
1057
1058
 
1058
1059
  const result = await app.sequelize.query(query)
1059
-
1060
+ console.log('更新成功')
1060
1061
  ctx.SUCCESS(result)
1061
1062
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.3.8",
3
+ "version": "13.3.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {