Skip to content
Snippets Groups Projects
Commit 5df58b62 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

PeriodKey in accounting_summary should be VARCHAR(255) not DATETIME

parent 5ddb282d
No related branches found
No related tags found
No related merge requests found
2011-10-14:
ALTER TABLE accounting_summary ADD COLUMN PeriodKey2 VARCHAR(255) AFTER PeriodKey;
UPDATE accounting_summary set PeriodKey2 = DATE_FORMAT(PeriodKey,'%Y-%m');
ALTER TABLE accounting_summary DROP COLUMN PeriodKey;
ALTER TABLE accounting_summary CHANGE COLUMN PeriodKey2 PeriodKey VARCHAR(255);
2011-03-22:
Add users_data table for various functions
......
......@@ -256,7 +256,7 @@ CREATE TABLE @PREFIX@accounting_summary (
Username VARCHAR(255),
PeriodKey DATETIME,
PeriodKey VARCHAR(255),
TotalSessionTime @INT_UNSIGNED@,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment