install/schemas/upgrade/1.1.6-1.1.7-postgresql.sql
author Dan
Fri, 30 Apr 2010 22:10:57 -0400
changeset 1246 330f4de4c937
parent 1175 1e2c9819ede3
permissions -rw-r--r--
Added an ajax auto check for the path to ImageMagick in Admin:UploadConfig
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1081
745200a9cc2a Fixed some upgrade bugs; added support for choosing one's own date/time formats; rebrand as 1.1.7
Dan
parents:
diff changeset
     1
ALTER TABLE {{TABLE_PREFIX}}users_extra ADD COLUMN date_format varchar(32) NOT NULL DEFAULT 'F d, Y';
745200a9cc2a Fixed some upgrade bugs; added support for choosing one's own date/time formats; rebrand as 1.1.7
Dan
parents:
diff changeset
     2
ALTER TABLE {{TABLE_PREFIX}}users_extra ADD COLUMN time_format varchar(32) NOT NULL DEFAULT 'G:i';
1170
71cb87b7dc3f ACP: Added lockout management feature
Dan
parents: 1081
diff changeset
     3
ALTER TABLE {{TABLE_PREFIX}}lockout ADD COLUMN username varchar(255) NOT NULL DEFAULT '';
1175
1e2c9819ede3 Logs: Fully integrated an author_uid column. Logs are now linked by user ID instead of just username, so they survive username changes better. Database is changed. Fixes issue 6.
Dan
parents: 1170
diff changeset
     4
ALTER TABLE {{TABLE_PREFIX}}logs ADD COLUMN author_uid int NOT NULL DEFAULT 1;
1e2c9819ede3 Logs: Fully integrated an author_uid column. Logs are now linked by user ID instead of just username, so they survive username changes better. Database is changed. Fixes issue 6.
Dan
parents: 1170
diff changeset
     5
UPDATE {{TABLE_PREFIX}}logs SET author_uid = 1;