Skip to content

Commit

Permalink
Merge branch 'develop' into add-rf4-badgeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
divine-comedian committed Jun 10, 2024
2 parents db9e95c + cd614ec commit 866eab5
Show file tree
Hide file tree
Showing 15 changed files with 314 additions and 64 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@

# Backup file
.env.backup

# Exclude add-organisation updates on pushes
add-organisation.js
11 changes: 11 additions & 0 deletions db/migrations/1717941249030-Data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = class Data1717941249030 {
name = 'Data1717941249030'

async up(db) {
await db.query(`ALTER TABLE "project" ADD "description_html" text`)
}

async down(db) {
await db.query(`ALTER TABLE "project" DROP COLUMN "description_html"`)
}
}
11 changes: 11 additions & 0 deletions db/migrations/1718005314786-Data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = class Data1718005314786 {
name = 'Data1718005314786'

async up(db) {
await db.query(`ALTER TABLE "project" ADD "description_summary" text`)
}

async down(db) {
await db.query(`ALTER TABLE "project" DROP COLUMN "description_summary"`)
}
}
239 changes: 193 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 866eab5

Please sign in to comment.