Skip to content

Commit

Permalink
fix: db sync error
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Jan 26, 2022
1 parent f309cb6 commit 54fb675
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions migrations/20220115134849-add-orgUid-index.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

module.exports = {
async up(queryInterface, Sequelize) {
queryInterface.addIndex('Projects', ['orgUid']);
queryInterface.addIndex('Units', ['orgUid']);
async up(queryInterface) {
queryInterface.addIndex('projects', ['orgUid']);
queryInterface.addIndex('units', ['orgUid']);
},

async down(queryInterface, Sequelize) {
async down() {
/**
* Add reverting commands here.
*
Expand Down

0 comments on commit 54fb675

Please sign in to comment.