@felloh-org/lambda-wrapper 1.1.20 → 1.1.21

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.
@@ -35,7 +35,8 @@ let User = (_dec = (0, _typeorm.Entity)({
35
35
  nullable: true
36
36
  }), _dec5 = (0, _typeorm.Column)({
37
37
  type: "varchar",
38
- length: "150"
38
+ length: "150",
39
+ nullable: true
39
40
  }), _dec6 = (0, _typeorm.Column)({
40
41
  type: "varchar",
41
42
  length: "50",
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class nullableUserEmail1656062997392 {
4
+ name = 'nullableUserEmail1656062997392'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "user"."user" ALTER COLUMN "email" DROP NOT NULL`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "user"."user" ALTER COLUMN "email" SET NOT NULL`);
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {