test-entity-library-asm 1.3.2 → 1.3.3

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.
@@ -104,7 +104,7 @@ var User = /** @class */ (function () {
104
104
  ], User.prototype, "longitude", void 0);
105
105
  __decorate([
106
106
  (0, typeorm_1.Column)({
107
- length: 20,
107
+ length: 50,
108
108
  comment: 'Contraseña almacenada tipo MD5 del usuario.',
109
109
  }),
110
110
  __metadata("design:type", String)
package/ormconfig.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
- "type": "${DB_TYPE}",
2
+ "type": "mysql",
3
3
  "migrations": [
4
4
  "src/migrations/*.ts"
5
5
  ],
6
6
  "cli": {
7
- "entitiesDir": "src/entities",
8
7
  "migrationsDir": "src/migrations"
9
- },
10
- "driver": "mysql2"
8
+ }
11
9
  }
12
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -90,7 +90,7 @@ export class User {
90
90
  longitude: number
91
91
 
92
92
  @Column({
93
- length: 20,
93
+ length: 50,
94
94
  comment: 'Contraseña almacenada tipo MD5 del usuario.',
95
95
  })
96
96
  password: string
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { config } from 'dotenv'
2
2
  import { resolve } from 'path'
3
3
  import { DataSource } from 'typeorm'
4
- import { IShowEntity, IType } from './interfaces'
4
+ import { IType } from './interfaces'
5
5
 
6
6
  let connection: DataSource | null = null
7
7