From 6534a54434f4a2b3bb2531ae047dc09c7b3350df Mon Sep 17 00:00:00 2001 From: FishExplosion <1arteha1@gmail.com> Date: Sat, 9 Nov 2019 13:59:21 +0100 Subject: [PATCH 1/2] ++ --- .gitignore | 1 + .npmignore | 2 ++ spec/entities/Car.ts | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0b2f3320..e3d5de70 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules/ lib/ package-lock\.json +yarn\.lock *.db \ No newline at end of file diff --git a/.npmignore b/.npmignore index f8d84266..87bfbb3b 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,7 @@ \.idea/ node_modules/ src/ +spec/ package-lock\.json +yarn\.lock *.db \ No newline at end of file diff --git a/spec/entities/Car.ts b/spec/entities/Car.ts index cbfba08b..9cbb5b92 100644 --- a/spec/entities/Car.ts +++ b/spec/entities/Car.ts @@ -44,9 +44,9 @@ export class Car extends BaseEntity{ @RelationId((car: Car) => car.carDealer) public carDealerId: number; - @CreateDateColumn({ name: "created_at" }) + @CreateDateColumn() public createdAt: Date; - @UpdateDateColumn({ name: "updated_at" }) + @UpdateDateColumn() public updatedAt: Date; } From a808e9ca67df8ecd8e36cb9d3be89b2ec7a7c9f1 Mon Sep 17 00:00:00 2001 From: FishExplosion <1arteha1@gmail.com> Date: Sat, 9 Nov 2019 13:59:37 +0100 Subject: [PATCH 2/2] v0.1.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index be749e6d..8479e611 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "admin-bro-typeorm", - "version": "0.1.4", + "version": "0.1.5", "description": "TypeORM adapter for AdminBro", "keywords": [ "typeorm",