add dtos and fix entities including migrations

This commit is contained in:
Anika Raemer 2025-09-27 18:21:10 +02:00
parent ad6ee64565
commit d94251dea4
9 changed files with 125 additions and 3 deletions

View file

@ -0,0 +1,12 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class DropNotNullForIngredientGroupTitle1758988748273 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query("ALTER TABLE recipe_ingredient_group ALTER COLUMN title DROP NOT NULL")
}
public async down(queryRunner: QueryRunner): Promise<void> {
}
}