diff --git a/server/src/migrations/1769337909811-updateImportFileMetadata.ts b/server/src/migrations/1769337909811-updateImportFileMetadata.ts index 4c18fe94..6f0b4fa8 100644 --- a/server/src/migrations/1769337909811-updateImportFileMetadata.ts +++ b/server/src/migrations/1769337909811-updateImportFileMetadata.ts @@ -3,26 +3,12 @@ import { MigrationInterface, QueryRunner } from "typeorm" export class updateImportFileMetadata1769337909811 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise { - // await queryRunner.query(` - // ALTER TABLE \`import_file\` DROP COLUMN \`metadata\` - // `); - // await queryRunner.query(` - // ALTER TABLE \`import_file\` - // ADD \`metadata\` text NULL - // `); await queryRunner.query(` ALTER TABLE \`import_file\` MODIFY COLUMN \`metadata\` text NULL `); } public async down(queryRunner: QueryRunner): Promise { - // await queryRunner.query(` - // ALTER TABLE \`import_file\` DROP COLUMN \`metadata\` - // `); - // await queryRunner.query(` - // ALTER TABLE \`import_file\` - // ADD \`metadata\` json NULL - // `); await queryRunner.query(` ALTER TABLE \`import_file\` MODIFY COLUMN \`metadata\` json NULL `); diff --git a/server/src/reports/studentReportCardReact.tsx b/server/src/reports/studentReportCardReact.tsx index db3676db..95429af2 100644 --- a/server/src/reports/studentReportCardReact.tsx +++ b/server/src/reports/studentReportCardReact.tsx @@ -632,12 +632,6 @@ function filterReports(reports: IExtenedStudentPercentReport[], reportParams: IR (reportParams.forceGrades && (report.gradeAvg === undefined || report.gradeAvg === null)) || (reportParams.forceAtt && !report.lessonsCount) ) - // return this only if someone asks for it - // }).map(report => { - // return { - // ...report, - // isSpecial: report.lessonsCount && report.lessonsCount * 2 == report.absCount, - // } }); }