Skip to content

Commit

Permalink
doctrine-extensions#1263 set column names in timestampable trait
Browse files Browse the repository at this point in the history
  • Loading branch information
maidmaid committed Mar 23, 2015
1 parent 3aa1820 commit f811013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Gedmo/Timestampable/Traits/TimestampableEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ trait TimestampableEntity
/**
* @var \DateTime
* @Gedmo\Timestampable(on="create")
* @ORM\Column(type="datetime")
* @ORM\Column(name="created_at", type="datetime")
*/
protected $createdAt;

/**
* @var \DateTime
* @Gedmo\Timestampable(on="update")
* @ORM\Column(type="datetime")
* @ORM\Column(name="updated_at", type="datetime")
*/
protected $updatedAt;

Expand Down

0 comments on commit f811013

Please sign in to comment.