Skip to content

Commit

Permalink
Merge branch 'Dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteha committed Nov 9, 2019
2 parents af3a151 + a808e9c commit b048737
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
node_modules/
lib/
package-lock\.json
yarn\.lock
*.db
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
\.idea/
node_modules/
src/
spec/
package-lock\.json
yarn\.lock
*.db
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "admin-bro-typeorm",
"version": "0.1.4",
"version": "0.1.5",
"description": "TypeORM adapter for AdminBro",
"keywords": [
"typeorm",
Expand Down
4 changes: 2 additions & 2 deletions spec/entities/Car.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b048737

Please sign in to comment.