aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/assets.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/normalized/assets.js')
-rw-r--r--db/normalized/assets.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/db/normalized/assets.js b/db/normalized/assets.js
deleted file mode 100644
index 63866b4f..00000000
--- a/db/normalized/assets.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: "assets",
- comment: "",
- timestamps: true,
- createdAt: 'created_at',
- updatedAt: 'updated_at',
- indexes: [
- {
- unique: true,
- fields: ['code']
- }
- ]
-};
-
-db["Asset"] = db.define("assets_model", attributes, options);