@felloh-org/lambda-wrapper 1.2.1 → 1.2.2

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.
@@ -8,7 +8,7 @@ module.exports = class organisationPaymentProviderMethodWeight1661262743555 {
8
8
  await queryRunner.query(`ALTER TABLE "payment"."organisation_payment_provider_method" DROP CONSTRAINT "FK_1027b1f5301948b2c8dc5121017"`);
9
9
  await queryRunner.query(`DROP INDEX "payment"."IDX_1027b1f5301948b2c8dc512101"`);
10
10
  await queryRunner.query(`DROP INDEX "payment"."IDX_5c73d00c542e73bc44fc84f5e1"`);
11
- await queryRunner.query(`ALTER TABLE "payment"."organisation_payment_provider_method" ADD "weight" integer NOT NULL`);
11
+ await queryRunner.query(`ALTER TABLE "payment"."organisation_payment_provider_method" ADD "weight" integer NOT NULL DEFAULT 1`);
12
12
  await queryRunner.query(`ALTER TABLE "payment"."organisation_payment_provider_method" ADD CONSTRAINT "FK_1027b1f5301948b2c8dc5121017" FOREIGN KEY ("organisation_payment_provider_id") REFERENCES "payment"."organisation_payment_provider"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`);
13
13
  await queryRunner.query(`ALTER TABLE "payment"."organisation_payment_provider_method" ADD CONSTRAINT "FK_5c73d00c542e73bc44fc84f5e1e" FOREIGN KEY ("transaction_method_id") REFERENCES "payment"."transaction_method"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`);
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {