Closed (duplicate)
Project:
Comment Notify
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2008 at 22:46 UTC
Updated:
6 Jan 2008 at 15:31 UTC
Hi,
Installed comment notify; When it ran the db update stuff (after enabling the module) Drupal told me that it couldn't alter the table..
A quick look at the code showed the following :
ADD COLUMN `notify` tinyint(1) NOT NULL DEFAULT '1'"
which needed to be replaced with :
alter table comments add column notify int2 not null default 1;
Namely:
1) PostgreSQL doesn't like backticks (`)
2) PostgreSQL doesn't have a 'tinyint(1)' - but it does have an 'int2'.
thanks
David.
Comments
Comment #1
gregglesCould you provide this as a patch?
Comment #2
gregglesI guess this is actually a duplicate of http://drupal.org/node/192471
Comment #3
David Goodwin commentedYes, it probably is - sorry.