Remove useless migration

This commit is contained in:
Vins 2023-06-26 09:48:33 +02:00
parent 831733d090
commit 6b64322424
2 changed files with 2 additions and 11 deletions

View File

@ -27,7 +27,8 @@
"migrate": "npx prisma migrate deploy", "migrate": "npx prisma migrate deploy",
"docker:up:test": "docker-compose -f docker-compose-test.yml up -d", "docker:up:test": "docker-compose -f docker-compose-test.yml up -d",
"docker:down:test": "docker-compose down", "docker:down:test": "docker-compose down",
"test": "tsc && npm run docker:up:test && npm run migrate:test && dotenv -e .env.test -- jest -i --verbose ./dist/test/* && npm run docker:down:test" "test": "tsc && npm run docker:up:test && npm run migrate:test && dotenv -e .env.test -- jest -i --verbose ./dist/test/* && npm run docker:down:test",
"seed": "ts-node src/common/databases/seeders/seeder2.ts"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,10 +0,0 @@
/*
Warnings:
- Added the required column `mimetype` to the `files` table without a default value. This is not possible if the table is not empty.
- Added the required column `size` to the `files` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "files" ADD COLUMN "mimetype" VARCHAR(255) NOT NULL,
ADD COLUMN "size" INTEGER NOT NULL;