Commit 5df58b62 authored by Nigel Kukard's avatar Nigel Kukard

PeriodKey in accounting_summary should be VARCHAR(255) not DATETIME

parent 5ddb282d
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);
Add users_data table for various functions
......@@ -256,7 +256,7 @@ CREATE TABLE @PREFIX@accounting_summary (
Username VARCHAR(255),
PeriodKey VARCHAR(255),
TotalSessionTime @INT_UNSIGNED@,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment