forked from Joystream/orion
-
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
1 parent
7a470cc
commit 213bac6
Showing
2 changed files
with
13 additions
and
2 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 Data1708500753099 { | ||
name = 'Data1708500753099' | ||
|
||
async up(db) { | ||
await db.query(`ALTER TABLE "admin"."video" ADD "is_short" boolean`) | ||
} | ||
|
||
async down(db) { | ||
await db.query(`ALTER TABLE "admin"."video" DROP COLUMN "is_short"`) | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
db/migrations/1708169664028-Views.js → db/migrations/1708500753231-Views.js
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