install/schemas/upgrade/1.1.6-1.1.7-mysql.sql
author Dan
Sat, 19 Dec 2009 15:59:52 -0500
changeset 1189 5721c914bbb0
parent 1175 1e2c9819ede3
permissions -rw-r--r--
Upgrade: added 1.0.6pl1 migration support, tarball repository will need to be updated
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;