-
Notifications
You must be signed in to change notification settings - Fork 0
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
4 changed files
with
51 additions
and
37 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,13 @@ | ||
module.exports = class Data1708949622123 { | ||
name = 'Data1708949622123' | ||
|
||
async up(db) { | ||
await db.query(`ALTER TABLE "marketplace_config" ADD "minimum_value_for_trade" numeric NOT NULL DEFAULT 0`) | ||
await db.query(`ALTER TABLE "marketplace_config" ADD "minimum_value_for_mint" numeric NOT NULL DEFAULT 0`) | ||
} | ||
|
||
async down(db) { | ||
await db.query(`ALTER TABLE "marketplace_config" DROP COLUMN "minimum_value_for_trade"`) | ||
await db.query(`ALTER TABLE "marketplace_config" DROP COLUMN "minimum_value_for_mint"`) | ||
} | ||
} |
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
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
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