Skip to content

Commit f5f686c

Browse files
committed
[O2B-1545] Add a composite primary key on GAQSummary table
Sequelize model omitted the primaryKey that migration file defines.
1 parent 772a96c commit f5f686c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/database/models/gaqSummary.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ module.exports = (sequelize) => {
1717
const GaqSummary = sequelize.define('GaqSummary', {
1818
dataPassId: {
1919
type: Sequelize.INTEGER,
20+
primaryKey: true,
2021
},
2122
runNumber: {
2223
type: Sequelize.INTEGER,
24+
primaryKey: true,
2325
},
2426
badRunCoverage: {
2527
type: Sequelize.FLOAT,

0 commit comments

Comments
 (0)