Skip to content

Commit

Permalink
fix: migration issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 8, 2022
1 parent 3c1b12c commit fb26d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/database/migrations/20220831023546-add-org-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
await Promise.all(
['organizations'].map((table) => {
queryInterface.addColumn(table, 'metadata', {
type: Sequelize.String,
type: Sequelize.STRING,
allowNull: true,
defaultValue: false,
});
Expand All @@ -15,9 +15,9 @@ export default {

async down(queryInterface) {
await Promise.all(
[].map((table) => {
['organizations'].map((table) => {
queryInterface.removeColumn(table, 'metadata');
}),
);
},
};
};

0 comments on commit fb26d68

Please sign in to comment.