@felloh-org/lambda-wrapper 1.1.44 → 1.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,9 @@ module.exports = class paymentProviderPaymentMethod1658483667045 {
6
6
  async up(queryRunner) {
7
7
  await queryRunner.query(`ALTER TABLE "payment"."payment_provider" ADD "payment_method" character varying(20) NOT NULL DEFAULT 'UNKNOWN'`);
8
8
  await queryRunner.query(`ALTER TABLE "payment"."payment_provider" ALTER COLUMN "name" SET NOT NULL`);
9
+ await queryRunner.query(`UPDATE "payment"."payment_provider" SET "payment_method" = 'CARD' WHERE "name" = 'TOTAL_PROCESSING'`);
10
+ await queryRunner.query(`UPDATE "payment"."payment_provider" SET "payment_method" = 'OPEN_BANKING' WHERE "name" = 'NUAPAY'`);
11
+ await queryRunner.query(`UPDATE "payment"."payment_provider" SET "payment_method" = 'CARD' WHERE "name" = 'NUVEI'`);
9
12
  }
10
13
 
11
14
  async down(queryRunner) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {