Fix a pgsql update routine error, thanks to ads from the forums

This commit is contained in:
Garvin Hicking 2006-11-02 11:34:15 +00:00
parent e6500e8285
commit 466b067287

View File

@ -1,4 +1,4 @@
ALTER TABLE {PREFIX}images ADD COLUMN realname varchar(255) not null default '';
ALTER TABLE {PREFIX}references ADD COLUMN type varchar(128) not null default '';
ALTER TABLE {PREFIX}images ADD COLUMN realname varchar(255);
ALTER TABLE {PREFIX}references ADD COLUMN type varchar(128);
CREATE INDEX reftype_idx ON {PREFIX}references (type);