[development] PDO question

Moshe Weitzman weitzman at tejasa.com
Mon Sep 20 14:18:46 UTC 2010

datetime was removed under some dubious circumstances. you can depend
on date api module to get it back or probably better is to switch to
int if you can. see http://drupal.org/node/866340

On Mon, Sep 20, 2010 at 10:08 AM, Bob Hutchinson
<hutchlists at midwales.com> wrote:
> I'm having problems with a database field which is type 'datetime' in a Drupal
> 7 install, using alpha7. It installed OK a few months ago but now causes the
> module install to crash, it would appear that the datetime type is no longer
> supported or this is a bug in the PDO Database Abstraction Layer. I notice
> that core modules using timestamp fields are using type 'int', should I do the
> same? I am reluctant to do this as it will make upgrades from D6 just that
> much more difficult,
> I am testing this on Ubuntu 10.04, fully up to date.
> --
> -----------------
> Bob Hutchinson
> Midwales dot com
> -----------------

More information about the development mailing list