From 606875f1c9a6aa8cc348c84203c3d41b165399f6 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 2 Jun 2011 11:20:08 -0700 Subject: [PATCH] Change modified to use timestamp type instead of datetime --- classes/Oauth_token_association.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.39.2