Skip to content

Commit

Permalink
🐛 missed migration
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival committed Apr 29, 2022
1 parent 03d2ca0 commit e69bee8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/migrations/1651230057988-Data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = class Data1651230057988 {
name = 'Data1651230057988'

async up(db) {
await db.query(`ALTER TABLE "series" ADD "highest_price" numeric`)

This comment has been minimized.

Copy link
@KngZhi

KngZhi May 1, 2022

Contributor

Hello @vikiival, It should be highest_sale, and the line 9 as well. Discussed at here :)

}

async down(db) {
await db.query(`ALTER TABLE "series" DROP COLUMN "highest_price"`)
}
}

0 comments on commit e69bee8

Please sign in to comment.