up
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-26 16:25:37 +03:30
parent a78e82264c
commit 444a8bf1b0
5 changed files with 13 additions and 23 deletions
@@ -1955,15 +1955,6 @@
"length": 26,
"mappedType": "character"
},
"quantity": {
"name": "quantity",
"type": "int",
"unsigned": false,
"autoincrement": false,
"primary": false,
"nullable": false,
"mappedType": "integer"
},
"description": {
"name": "description",
"type": "text",
@@ -0,0 +1,13 @@
import { Migration } from '@mikro-orm/migrations';
export class Migration20260626160000 extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table "request_items" drop column "quantity";`);
}
override async down(): Promise<void> {
this.addSql(`alter table "request_items" add column "quantity" int not null default 1;`);
}
}