Skip to content

Commit f31721e

Browse files
committed
fix: WorkPeriodPayments migration script
1 parent 439d020 commit f31721e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

migrations/2021-04-10-work-period-payment-table-create.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Create work_period_payments table and reference to the "work_periods" table
33
*/
44

5-
const config = require('config')
6-
5+
const config = require('config')
6+
77
module.exports = {
88
up: async (queryInterface, Sequelize) => {
99
await queryInterface.createTable('work_period_payment', {
@@ -64,8 +64,7 @@ module.exports = {
6464
type: Sequelize.DATE
6565
}
6666
}, {
67-
schema: config.DB_SCHEMA_NAME,
68-
transaction
67+
schema: config.DB_SCHEMA_NAME
6968
})
7069
},
7170
down: async (queryInterface) => {
@@ -75,4 +74,3 @@ module.exports = {
7574
})
7675
}
7776
}
78-

0 commit comments

Comments
 (0)