From: Zach Copley Date: Thu, 2 Jun 2011 18:20:08 +0000 (-0700) Subject: Change modified to use timestamp type instead of datetime X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=606875f1c9a6aa8cc348c84203c3d41b165399f6;p=quix0rs-gnu-social.git Change modified to use timestamp type instead of datetime --- diff --git a/classes/Oauth_token_association.php b/classes/Oauth_token_association.php index 40527fa742..06c9fee1c3 100644 --- a/classes/Oauth_token_association.php +++ b/classes/Oauth_token_association.php @@ -49,7 +49,7 @@ class Oauth_token_association extends Memcached_DataObject 'application_id' => array('type' => 'int', 'not null' => true, 'description' => 'the application'), 'token' => array('type' => 'varchar', 'length' => '255', 'not null' => true, 'description' => 'token used for this association'), 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'), - 'modified' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was modified'), + 'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'), ), 'primary key' => array('profile_id', 'application_id', 'token'), 'foreign keys' => array(