install/schemas/upgrade/1.1.6-1.1.7-postgresql.sql
author Dan
Wed, 06 Jan 2010 02:20:53 -0500
changeset 1210 ad49fa34ff3c
parent 1175 1e2c9819ede3
permissions -rw-r--r--
Logins: if the error message string doesn't look like a langstring id, don't prepend "user_err_" to it (some auth plugins are not localized at all, this lets them be without ugly cosmetic bugs)

ALTER TABLE {{TABLE_PREFIX}}users_extra ADD COLUMN date_format varchar(32) NOT NULL DEFAULT 'F d, Y';
ALTER TABLE {{TABLE_PREFIX}}users_extra ADD COLUMN time_format varchar(32) NOT NULL DEFAULT 'G:i';
ALTER TABLE {{TABLE_PREFIX}}lockout ADD COLUMN username varchar(255) NOT NULL DEFAULT '';
ALTER TABLE {{TABLE_PREFIX}}logs ADD COLUMN author_uid int NOT NULL DEFAULT 1;
UPDATE {{TABLE_PREFIX}}logs SET author_uid = 1;