@felloh-org/lambda-wrapper 1.11.21 → 1.11.22

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.
@@ -0,0 +1,60 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class initial1641774481300 {
4
+ name = 'plecom1693832604328'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`
8
+ CREATE OR REPLACE VIEW plecom_union AS
9
+ select
10
+ amount,
11
+ description,
12
+ expires_at,
13
+ user_id,
14
+ organisation_id,
15
+ id,
16
+ booking_id,
17
+ customer_name,
18
+ open_banking_enabled,
19
+ card_enabled,
20
+ moto,
21
+ status,
22
+ created_at,
23
+ updated_at,
24
+ email,
25
+ currency,
26
+ deleted_at,
27
+ pre_authorized,
28
+ customer_id
29
+ from "payment"."payment_Link"
30
+ union
31
+ select
32
+ amount,
33
+ '' as description,
34
+ expires_at,
35
+ user_id,
36
+ organisation_id,
37
+ id,
38
+ booking_id,
39
+ customer_name,
40
+ open_banking_enabled,
41
+ card_enabled,
42
+ moto,
43
+ status,
44
+ created_at,
45
+ updated_at,
46
+ email,
47
+ currency,
48
+ deleted_at,
49
+ pre_authorized,
50
+ customer_id
51
+ from "payment".ecommerce
52
+ `);
53
+ }
54
+
55
+ async down(queryRunner) {
56
+ await queryRunner.query(`
57
+ DROP VIEW IF EXISTS plecom_union;
58
+ `);
59
+ }
60
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.21",
3
+ "version": "1.11.22",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {