aboutsummaryrefslogtreecommitdiffstats
path: root/db/models/users.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-06 14:11:52 -0800
committerAdam Soltys <[email protected]>2023-01-06 14:11:52 -0800
commit6f7ad86583ee4e9e359829b55cb041d014902e07 (patch)
treecdc90c4f83e52d2db2f74f6743a891b31488f49f /db/models/users.js
parent8076c6c8da495331a6013671f80f178e57d42d19 (diff)
downloadcoinos-server-6f7ad86583ee4e9e359829b55cb041d014902e07.tar.gz
coinos-server-6f7ad86583ee4e9e359829b55cb041d014902e07.zip
prettier
Diffstat (limited to 'db/models/users.js')
-rw-r--r--db/models/users.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/db/models/users.js b/db/models/users.js
index 23dab0bf..72680fd8 100644
--- a/db/models/users.js
+++ b/db/models/users.js
@@ -1,5 +1,5 @@
import db from "$db/db";
-import { DataTypes } from '@sequelize/core';
+import { DataTypes } from "@sequelize/core";
const attributes = {
id: {
@@ -140,7 +140,7 @@ const attributes = {
unit: {
type: DataTypes.STRING(255),
allowNull: true,
- defaultValue: 'SAT',
+ defaultValue: "SAT",
primaryKey: false,
autoIncrement: false,
comment: null,
@@ -225,13 +225,13 @@ const attributes = {
field: "twofa"
},
cipher: {
- type: DataTypes.STRING(255),
+ type: DataTypes.STRING(255)
},
pubkey: {
- type: DataTypes.STRING(255),
+ type: DataTypes.STRING(255)
},
salt: {
- type: DataTypes.STRING(255),
+ type: DataTypes.STRING(255)
},
pin: {
type: DataTypes.STRING(255),