myorm_pg 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -26,7 +26,7 @@ export class Person
26
26
  @PrimaryKey()
27
27
  @Column()
28
28
  @DataType(DBTypes.SERIAL)
29
- public Id : number = -1;
29
+ public Id : number;
30
30
 
31
31
  @Column()
32
32
  public Name : string;
@@ -67,6 +67,7 @@ export class Person
67
67
 
68
68
  constructor(name : string = "", email : string = "", age : number = 1)
69
69
  {
70
+ this.Id = -1;
70
71
  this.Name = name;
71
72
  this.Email = email;
72
73
  this.Age = age;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myorm_pg",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A ORM writen in typescript for postgres",
5
5
  "main": "Index.js",
6
6
  "types": "./lib/Index.d.ts",