Undo change to plans migration
Correct migration files should never be updated. For more information on how database migrations work in TypeORM: https://orkhan.gitbook.io/typeorm/docs/migrations
This commit is contained in:
parent
0c5562a2f1
commit
2a6ba3b36a
|
@ -5,11 +5,10 @@ export class plans1667186124792 implements MigrationInterface {
|
|||
await queryRunner.query(`
|
||||
CREATE TABLE IF NOT EXISTS plans (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
title TEXT NOT NULL,
|
||||
days TEXT NOT NULL,
|
||||
workouts TEXT NOT NULL
|
||||
)
|
||||
`);
|
||||
`)
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user