aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-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),