Skip to content

Commit

Permalink
Default created date to current timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed May 2, 2015
1 parent abd3a59 commit 3fd916e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Upgrade/Incremental/sql/4.6.3.mysql.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS `civicrm_payment_token` (
`contact_id` int unsigned NOT NULL COMMENT 'FK to Contact ID for the owner of the token',
`payment_processor_id` int unsigned NOT NULL ,
`token` varchar(255) NOT NULL COMMENT 'Externally provided token string',
`created_date` timestamp COMMENT 'Date created',
`created_date` timestamp DEFAULT CURRENT_TIMESTAMP COMMENT 'Date created',
`created_id` int unsigned COMMENT 'Contact ID of token creator',
`expiry_date` datetime COMMENT 'Date this token expires',
`email` varchar(255) COMMENT 'Email at the time of token creation. Useful for fraud forensics',
Expand Down

0 comments on commit 3fd916e

Please sign in to comment.