PostgreSQL support

stano.lacko - December 9, 2007 - 17:03
Project:Avatar Approval
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, plase add this code to install script to support postgresql databases.

    case 'pgsql':
      $pass = db_query("CREATE TABLE {avatar_approval} (
        uid INT NOT NULL ,
        md5 varchar NOT NULL,
        extension varchar NOT NULL,
        timestamp int NOT NULL,
        approved int NOT NULL,
        moderator VARCHAR(60) NOT NULL,
        active int NOT NULL,
        PRIMARY KEY ( uid, md5 )
      )");
    break;

#1

stano.lacko - December 9, 2007 - 17:04
Assigned to:stano.lacko» Anonymous
 
 

Drupal is a registered trademark of Dries Buytaert.