diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-14 18:58:17 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-14 18:58:17 +0200 |
| commit | dd2a4f706f20b83144e637896c55c550afa7030a (patch) | |
| tree | b6f48beba19672577cfbfba71b45ea89e780088f /models/build.js | |
| parent | 0e5c3afae2be7a36372d9b29a1c7fa5fba649341 (diff) | |
| download | orm-dd2a4f706f20b83144e637896c55c550afa7030a.tar.gz orm-dd2a4f706f20b83144e637896c55c550afa7030a.zip | |
2.14.0 rewrite
Diffstat (limited to 'models/build.js')
| -rw-r--r-- | models/build.js | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/models/build.js b/models/build.js index c3ab621..33e101d 100644 --- a/models/build.js +++ b/models/build.js @@ -12,32 +12,60 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.STRING(191), allowNull: false }, - item_1: { + dimension_on: { type: DataTypes.STRING(191), allowNull: true }, - item_2: { + database: { type: DataTypes.STRING(191), allowNull: true }, + item_1: { + type: DataTypes.BIGINT, + allowNull: true + }, + item_2: { + type: DataTypes.BIGINT, + allowNull: true + }, item_3: { - type: DataTypes.STRING(191), + type: DataTypes.BIGINT, allowNull: true }, item_4: { - type: DataTypes.STRING(191), + type: DataTypes.BIGINT, allowNull: true }, item_5: { - type: DataTypes.STRING(191), + type: DataTypes.BIGINT, allowNull: true }, item_6: { - type: DataTypes.STRING(191), + type: DataTypes.BIGINT, allowNull: true }, - dimension_on: { - type: DataTypes.STRING(191), + item_1_count: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + item_2_count: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + item_3_count: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + item_4_count: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + item_5_count: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + item_6_count: { + type: DataTypes.INTEGER(11), allowNull: true } }, { |
