Correct pgsql creation sql

novatica - August 22, 2008 - 10:32
Project:Janode
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

This is the correct pgsql creation sql:

CREATE TABLE janode (
vid INT NOT NULL DEFAULT 0,
nid INT NOT NULL DEFAULT 0,
http_link VARCHAR(255) NOT NULL DEFAULT '',
http_anchor VARCHAR(255) DEFAULT '',
http_recip VARCHAR(255) DEFAULT '',
http_click INT DEFAULT 0,
last_checked TIMESTAMP DEFAULT '2000-01-01 00:00:00',
status INT NOT NULL DEFAULT 0,
PRIMARY KEY (vid, nid)
);
CREATE INDEX idx_janode_last_checked ON janode (last_checked);
CREATE INDEX idx_janode_status ON janode (status);

 
 

Drupal is a registered trademark of Dries Buytaert.