generated from eldargab/hydra-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Sorry, something went wrong. |
||
} | ||
|
||
async down(db) { | ||
await db.query(`ALTER TABLE "series" DROP COLUMN "highest_price"`) | ||
} | ||
} |
Hello @vikiival, It should be
highest_sale
, and the line 9 as well. Discussed at here :)