Skip to content

Commit

Permalink
Update db/migration/1738574434234-AlterVariablesIndexes.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Gerber <[email protected]>
  • Loading branch information
Marigold and marcelgerber authored Feb 3, 2025
1 parent f4668e1 commit 822c2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migration/1738574434234-AlterVariablesIndexes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { MigrationInterface, QueryRunner } from "typeorm"

export class AlterVariablesIndexes1738574434234 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
// Drop the unique index on shortName (and datasetId)
// Drop the unique index on (shortName ,datasetId)
await queryRunner.query(`
ALTER TABLE variables
DROP INDEX unique_short_name_per_dataset;
Expand Down

0 comments on commit 822c2db

Please sign in to comment.