Skip to content

Commit b289323

Browse files
committed
Remove commented-out code blocks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XKNMkzqdCcd8QUEVXWgZY9
1 parent afb7a39 commit b289323

2 files changed

Lines changed: 0 additions & 20 deletions

File tree

‎server/src/migrations/1769337909811-updateImportFileMetadata.ts‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,12 @@ import { MigrationInterface, QueryRunner } from "typeorm"
33
export class updateImportFileMetadata1769337909811 implements MigrationInterface {
44

55
public async up(queryRunner: QueryRunner): Promise<void> {
6-
// await queryRunner.query(`
7-
// ALTER TABLE \`import_file\` DROP COLUMN \`metadata\`
8-
// `);
9-
// await queryRunner.query(`
10-
// ALTER TABLE \`import_file\`
11-
// ADD \`metadata\` text NULL
12-
// `);
136
await queryRunner.query(`
147
ALTER TABLE \`import_file\` MODIFY COLUMN \`metadata\` text NULL
158
`);
169
}
1710

1811
public async down(queryRunner: QueryRunner): Promise<void> {
19-
// await queryRunner.query(`
20-
// ALTER TABLE \`import_file\` DROP COLUMN \`metadata\`
21-
// `);
22-
// await queryRunner.query(`
23-
// ALTER TABLE \`import_file\`
24-
// ADD \`metadata\` json NULL
25-
// `);
2612
await queryRunner.query(`
2713
ALTER TABLE \`import_file\` MODIFY COLUMN \`metadata\` json NULL
2814
`);

‎server/src/reports/studentReportCardReact.tsx‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,6 @@ function filterReports(reports: IExtenedStudentPercentReport[], reportParams: IR
632632
(reportParams.forceGrades && (report.gradeAvg === undefined || report.gradeAvg === null)) ||
633633
(reportParams.forceAtt && !report.lessonsCount)
634634
)
635-
// return this only if someone asks for it
636-
// }).map(report => {
637-
// return {
638-
// ...report,
639-
// isSpecial: report.lessonsCount && report.lessonsCount * 2 == report.absCount,
640-
// }
641635
});
642636
}
643637

0 commit comments

Comments
 (0)