Skip to content

Commit

Permalink
fix(migrations): delete useless migration
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Nov 19, 2023
1 parent c0cc840 commit df296d5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ import { UsagerEntretien } from "@domifa/common";
import { TOULOUSE_STRUCTURE_ID, getDateFromXml } from "../_common/tmp-toulouse";
import { tmpHistoriqueRepository } from "../database/services/interaction/historiqueRepository.service";

export class ManualMigration1692216772744 implements MigrationInterface {
export class ImportDecisionsMigration1692216772744
implements MigrationInterface
{
name = "ImportDecisionsMigration1692216772744";

// eslint-disable-next-line @typescript-eslint/no-unused-vars
public async up(_queryRunner: QueryRunner): Promise<void> {
console.log("");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import { TOULOUSE_STRUCTURE_ID, getDateFromXml } from "../_common/tmp-toulouse";
import { tmpHistoriqueRepository } from "../database/services/interaction/historiqueRepository.service";
import { format } from "date-fns";

export class ManualMigration1697659880952 implements MigrationInterface {
export class ImportPassagesToulouseMigration1697659880955
implements MigrationInterface
{
name = "ImportPassagesToulouseMigration1697659880955";
public async up(): Promise<void> {
const queryRunner = myDataSource.createQueryRunner();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ import { InteractionDto } from "../interactions/dto";
import { MOTIF } from "../_common/tmp-toulouse/MOTIF.const";
import { format } from "date-fns";

export class ManualMigration1697704071500 implements MigrationInterface {
export class ImportCourriersToulouseMigration1697704071510
implements MigrationInterface
{
name = "ImportCourriersToulouseMigration1697704071510";

public async up(): Promise<void> {
const queryRunner = myDataSource.createQueryRunner();
await queryRunner.startTransaction();
Expand Down

0 comments on commit df296d5

Please sign in to comment.