Skip to content

Commit 2ceee4f

Browse files
committed
lint migration file
1 parent 511f350 commit 2ceee4f

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

backend/typescript/migrations/20251004173612-update-db-with-scores-col.ts

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,16 @@ const REV_APP_TABLE = "reviewed_applicant_records";
55
const APP_TABLE = "applicant_records";
66

77
export const up: Migration = async ({ context: sequelize }) => {
8-
await sequelize
9-
.getQueryInterface()
10-
.addColumn(REV_APP_TABLE, "score", {
11-
type: DataType.INTEGER,
12-
allowNull: true,
13-
defaultValue: null,
14-
});
8+
await sequelize.getQueryInterface().addColumn(REV_APP_TABLE, "score", {
9+
type: DataType.INTEGER,
10+
allowNull: true,
11+
defaultValue: null,
12+
});
1513

16-
await sequelize
17-
.getQueryInterface()
18-
.addColumn(APP_TABLE, "combined_score", {
19-
type: DataType.INTEGER,
20-
allowNull: true,
21-
defaultValue: null,
14+
await sequelize.getQueryInterface().addColumn(APP_TABLE, "combined_score", {
15+
type: DataType.INTEGER,
16+
allowNull: true,
17+
defaultValue: null,
2218
});
2319
};
2420

0 commit comments

Comments
 (0)