More changes for db migration
This commit is contained in:
parent
de0284e48a
commit
889dc02945
33 changed files with 740 additions and 100 deletions
|
@ -1,7 +1,7 @@
|
|||
export default function (sequelize, DataTypes) {
|
||||
const Activation = sequelize.define('activation', {
|
||||
id: { type: DataTypes.UUID, defaultValue: DataTypes.UUIDV4, primaryKey: true },
|
||||
activated: { type: DataTypes.BOOLEAN, defaultValue: false, primaryKey: true },
|
||||
activatedAt: { type: DataTypes.DATE },
|
||||
email: DataTypes.STRING,
|
||||
}, {
|
||||
classMethods: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue