diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 19:43:12 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 19:43:12 +0000 |
commit | d71ffc5aba6ee0e40ded64906b3bc430b7428e4f (patch) | |
tree | 6a00ad7df68b95016faa4dd4d8fe64cc322f2983 /includes/database/mysql/schema.inc | |
parent | 2ee24205ba9dcb3143913853a0967fd1cc9bd60e (diff) | |
download | drupal-d71ffc5aba6ee0e40ded64906b3bc430b7428e4f.tar.gz drupal-d71ffc5aba6ee0e40ded64906b3bc430b7428e4f.zip |
#200953 by seanburlington: Added basic support for 'time' and 'date' types to schema API.
Diffstat (limited to 'includes/database/mysql/schema.inc')
-rw-r--r-- | includes/database/mysql/schema.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/database/mysql/schema.inc b/includes/database/mysql/schema.inc index 16f3fd5a8213..edf86458cbc0 100644 --- a/includes/database/mysql/schema.inc +++ b/includes/database/mysql/schema.inc @@ -210,7 +210,11 @@ class DatabaseSchema_mysql extends DatabaseSchema { 'blob:big' => 'LONGBLOB', 'blob:normal' => 'BLOB', + 'date:normal' => 'DATE', + 'datetime:normal' => 'DATETIME', + + 'time:normal' => 'TIME', ); return $map; } |