Skip to content

Commit 96c6a99

Browse files
authored
Merge pull request #290 from kodadot/main
🗃️ base_uri
2 parents 089d788 + ab91dd4 commit 96c6a99

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

db/migrations/1719489409922-Data.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = class Data1719489409922 {
2+
name = 'Data1719489409922'
3+
4+
async up(db) {
5+
await db.query(`ALTER TABLE "collection_entity" ADD "base_uri" text`)
6+
}
7+
8+
async down(db) {
9+
await db.query(`ALTER TABLE "collection_entity" DROP COLUMN "base_uri"`)
10+
}
11+
}

0 commit comments

Comments
 (0)