diff options
| author | Adam Soltys <[email protected]> | 2020-05-04 22:23:17 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-05-04 22:23:17 -0700 |
| commit | a1c51d93db7b6d4bc3493bd23a0261356efb6aac (patch) | |
| tree | 935ebe6e46a760e5b7f7164b3e8bc046472385c0 /db/models/users.js | |
| parent | aed612c566cbf996defc10a4a7057fd4fa528d9d (diff) | |
| download | coinos-server-a1c51d93db7b6d4bc3493bd23a0261356efb6aac.tar.gz coinos-server-a1c51d93db7b6d4bc3493bd23a0261356efb6aac.zip | |
store ip as int
Diffstat (limited to 'db/models/users.js')
| -rw-r--r-- | db/models/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/models/users.js b/db/models/users.js index ea697f39..11331cf7 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -11,7 +11,7 @@ const attributes = { field: "id" }, ip: { - type: DataTypes.STRING(255), + type: DataTypes.INTEGER.UNSIGNED, allowNull: true, defaultValue: null, primaryKey: false, |
