[development] PDO question
Bob Hutchinson
hutchlists at midwales.com
Mon Sep 20 19:59:18 UTC 2010
On Monday 20 September 2010, Moshe Weitzman wrote:
> 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
Oh dear what a mess. Thanks for the prompt reply, at least I know what to do,
not too bad as the dates are just a record and should still sort. Upgrade
routine from D6 will be a nasty hack though. Ugh.
The info provided in schema.inc (line 40+) should be updated, us mere mortals
(contrib maintainers) do rely on the comments in core for guidance of what can
and cannot be done.
>
> 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
> > -----------------
--
-----------------
Bob Hutchinson
Midwales dot com
-----------------
More information about the development
mailing list