From e40e68f49b10d6ef70546f7128bad891256525c0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 7 Sep 2020 20:04:33 -0700 Subject: multiple same-asset accounts --- db/models/users.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db/models/users.js') diff --git a/db/models/users.js b/db/models/users.js index f6446a38..1bb4caaa 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -19,6 +19,15 @@ const attributes = { comment: null, field: "fiat" }, + index: { + type: DataTypes.INTEGER, + allowNull: true, + defaultValue: 0, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "index" + }, ip: { type: DataTypes.INTEGER.UNSIGNED, allowNull: true, -- cgit v1.2.3