fixed migration

This commit is contained in:
Dmitri 2026-06-28 15:13:25 +02:00
parent 63909ef66a
commit 2f56d1af05

View File

@ -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(),
},