diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-15 05:25:20 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-15 05:25:20 +0000 |
commit | bf3487c0b1502aca78e91f7217b160b4242ec6c7 (patch) | |
tree | 4ae7e5755ff2fc43a45ef03ad53f539a1fe5b2ef /modules/poll/poll.install | |
parent | a9080f70edcf3a2c7523518621848cbfaffa6ccc (diff) | |
download | brdo-bf3487c0b1502aca78e91f7217b160b4242ec6c7.tar.gz brdo-bf3487c0b1502aca78e91f7217b160b4242ec6c7.tar.bz2 |
#76681 by sammys, sync posgres install and change unsigned annotation.
Diffstat (limited to 'modules/poll/poll.install')
-rw-r--r-- | modules/poll/poll.install | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/poll/poll.install b/modules/poll/poll.install index f160d1bc7..aede0bdc0 100644 --- a/modules/poll/poll.install +++ b/modules/poll/poll.install @@ -35,15 +35,15 @@ function poll_install() { case 'pgsql': db_query("CREATE TABLE {poll} ( - nid uint NOT NULL default '0', + nid int_unsigned NOT NULL default '0', runtime int NOT NULL default '0', - active uint NOT NULL default '0', + active int_unsigned NOT NULL default '0', PRIMARY KEY (nid) )"); db_query("CREATE TABLE {poll_votes} ( - nid uint NOT NULL, - uid uint NOT NULL default 0, + nid int_unsigned NOT NULL, + uid int_unsigned NOT NULL default 0, chorder int NOT NULL default -1, hostname varchar(128) NOT NULL default '' )"); @@ -53,7 +53,7 @@ function poll_install() { db_query("CREATE TABLE {poll_choices} ( chid serial CHECK (chid >= 0), - nid uint NOT NULL default '0', + nid int_unsigned NOT NULL default '0', chtext varchar(128) NOT NULL default '', chvotes int NOT NULL default '0', chorder int NOT NULL default '0', |