Skip to content

Commit

Permalink
indexer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElessarST committed Feb 8, 2024
1 parent 0b85c84 commit cfaddcb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions indexer/db/migrations/1707392979676-Data.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = class Data1707392979676 {
name = 'Data1707392979676'

async up(db) {
await db.query(`ALTER TABLE "collection" ADD "additional_links" text`)
await db.query(`ALTER TABLE "collection" ALTER COLUMN "admin" SET NOT NULL`)
await db.query(`ALTER TABLE "collection" ALTER COLUMN "name" SET NOT NULL`)
await db.query(`ALTER TABLE "collection" ALTER COLUMN "description" SET NOT NULL`)
Expand All @@ -15,7 +14,6 @@ module.exports = class Data1707392979676 {
}

async down(db) {
await db.query(`ALTER TABLE "collection" DROP COLUMN "additional_links"`)
await db.query(`ALTER TABLE "collection" ALTER COLUMN "admin" DROP NOT NULL`)
await db.query(`ALTER TABLE "collection" ALTER COLUMN "name" DROP NOT NULL`)
await db.query(`ALTER TABLE "collection" ALTER COLUMN "description" DROP NOT NULL`)
Expand Down

0 comments on commit cfaddcb

Please sign in to comment.