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