fixed migration
This commit is contained in:
parent
63909ef66a
commit
2f56d1af05
@ -87,7 +87,6 @@ module.exports = {
|
||||
settings_json: {
|
||||
type: Sequelize.JSON,
|
||||
allowNull: false,
|
||||
defaultValue: DEFAULT_SETTINGS,
|
||||
},
|
||||
createdById: {
|
||||
type: Sequelize.UUID,
|
||||
@ -129,7 +128,6 @@ module.exports = {
|
||||
settings_json: {
|
||||
type: Sequelize.JSON,
|
||||
allowNull: false,
|
||||
defaultValue: {},
|
||||
},
|
||||
createdById: {
|
||||
type: Sequelize.UUID,
|
||||
@ -182,7 +180,7 @@ module.exports = {
|
||||
[
|
||||
{
|
||||
id: uuidv4(),
|
||||
settings_json: DEFAULT_SETTINGS,
|
||||
settings_json: JSON.stringify(DEFAULT_SETTINGS),
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user