From b5e03a8e5ba0047f46ffec55d45034cee86bd265 Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Tue, 13 Sep 2022 15:08:02 -0400 Subject: [PATCH] fix: default value for metadata column --- src/database/migrations/20220831023546-add-org-metadata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/migrations/20220831023546-add-org-metadata.js b/src/database/migrations/20220831023546-add-org-metadata.js index b0e3a4e4..85f296eb 100644 --- a/src/database/migrations/20220831023546-add-org-metadata.js +++ b/src/database/migrations/20220831023546-add-org-metadata.js @@ -7,7 +7,7 @@ export default { queryInterface.addColumn(table, 'metadata', { type: Sequelize.STRING, allowNull: true, - defaultValue: {}, + defaultValue: '{}', }); }), );