aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/assets.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-05-13 19:57:01 -0400
committerAdam Soltys <[email protected]>2021-05-13 20:03:49 -0400
commit3e981aaf136a545dc1d1b8597bac3fc5e6611178 (patch)
treed21f41f3f5806b0d6281f9e5d1208fee6cc73c75 /db/normalized/assets.js
parent8ede8b87045655c79c389fdc312c7ca01b1140da (diff)
downloadcoinos-server-3e981aaf136a545dc1d1b8597bac3fc5e6611178.tar.gz
coinos-server-3e981aaf136a545dc1d1b8597bac3fc5e6611178.zip
schema docs
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);