diff options
| author | Adam Soltys <[email protected]> | 2021-05-13 19:57:01 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-04 22:38:18 -0700 |
| commit | 28f3f69c5e593bcb8462e773ad4a82fb934ada4d (patch) | |
| tree | 683e43c3371170327f73e25bce8db668aad4f11a /db/normalized/assets.js | |
| parent | dc32621a049467658320e48ffd62ee64d59a71b0 (diff) | |
| download | coinos-server-28f3f69c5e593bcb8462e773ad4a82fb934ada4d.tar.gz coinos-server-28f3f69c5e593bcb8462e773ad4a82fb934ada4d.zip | |
schema docs
Diffstat (limited to 'db/normalized/assets.js')
| -rw-r--r-- | db/normalized/assets.js | 27 |
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); |
