install/schemas/upgrade/1.1.6-1.1.7-mysql.sql
author Dan Fuhry <dan@enanocms.org>
Thu, 01 Jul 2010 18:25:04 -0400
changeset 1258 d972b1276d95
parent 1175 1e2c9819ede3
permissions -rw-r--r--
Tagged release: 1.1.7pl1
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 mediumint(8) 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;