diff options
Diffstat (limited to 'db/normalized/codes.js')
| -rw-r--r-- | db/normalized/codes.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/db/normalized/codes.js b/db/normalized/codes.js deleted file mode 100644 index 956fe56a..00000000 --- a/db/normalized/codes.js +++ /dev/null @@ -1,27 +0,0 @@ -const { DataTypes } = require('sequelize'); - -const attributes = { - code: { - type: DataTypes.INTEGER(11), - primaryKey: true, - allowNull: false - }, - name: { - type: DataTypes.STRING(255) - } -} -const options = { - tableName: "codes", - comment: "", - timestamps: true, - createdAt: 'created_at', - updatedAt: 'updated_at', - indexes: [ - { - unique: true, - fields: ['code'] - } - ] -}; - -db["Code"] = db.define("codes_model", attributes, options); |
