-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4314 from thematters/develop
Release: v5.9.2
- Loading branch information
Showing
52 changed files
with
599 additions
and
2,741 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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
.git | ||
# Elastic Beanstalk Files | ||
.elasticbeanstalk/* | ||
.git | ||
.gitignore | ||
.github | ||
.vscode |
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
Empty file.
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
FROM node:18-alpine AS base | ||
|
||
# install os level packages | ||
RUN apk add --no-cache \ | ||
# PostgreSQL client library | ||
libpq | ||
|
||
# install dependencies | ||
WORKDIR /var/app | ||
EXPOSE 4000 | ||
|
||
COPY package*.json ./ | ||
RUN npm install | ||
USER node | ||
COPY . . | ||
ENV NODE_OPTIONS="--no-experimental-fetch" | ||
CMD npm run start |
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
14 changes: 14 additions & 0 deletions
14
db/migrations/20250220105906_add_campaign_featured_description.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const table = 'campaign' | ||
const column = 'featured_description' | ||
|
||
exports.up = async (knex) => { | ||
await knex.schema.table(table, (t) => { | ||
t.text(column).notNullable().defaultTo('') | ||
}) | ||
} | ||
|
||
exports.down = async (knex) => { | ||
await knex.schema.table(table, (t) => { | ||
t.dropColumn(column) | ||
}) | ||
} |
15 changes: 15 additions & 0 deletions
15
db/migrations/20250226161118_add_index_to_user_reader_materialized.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const table = 'user_reader_materialized' | ||
|
||
exports.up = async (knex) => { | ||
await knex.schema.table(table, (t) => { | ||
t.index(['state', 'user_name']) | ||
t.index(['author_score', 'id']) | ||
}) | ||
} | ||
|
||
exports.down = async (knex) => { | ||
await knex.schema.table(table, (t) => { | ||
t.dropIndex(['state', 'user_name']) | ||
t.dropIndex(['author_score', 'id']) | ||
}) | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.