Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions server/src/migrations/1769337909811-updateImportFileMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,12 @@ import { MigrationInterface, QueryRunner } from "typeorm"
export class updateImportFileMetadata1769337909811 implements MigrationInterface {

public async up(queryRunner: QueryRunner): Promise<void> {
// 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<void> {
// 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
`);
Expand Down
6 changes: 0 additions & 6 deletions server/src/reports/studentReportCardReact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
// }
});
}

Expand Down
Loading