*/ $MeasurementType = new RowManager_MeasureTypeManager(); $MeasurementType->dropTable(); $MeasurementType->createTable(); /* * Scope Table * * stores a statistic scope (i.e. Ministry, Region, etc) * * scope_id [INTEGER] the object's unique identifier * scope_name [STRING] the name of the Scope * scope_reftable [STRING] the particular scope's reference table (i.e. p2c_stats_ministry) */ $Scope = new RowManager_ScopeManager(); $Scope->dropTable(); $Scope->createTable(); /* * ReportCalculation Table * * A calculation that can be included in a stats report (i.e. SUM, AVG, etc) * * filter_id [INTEGER] the unique id of this filter/calculation * filter_name [STRING] the Filter/Calculation name * filter_desc [STRING] Description for this Calculation/Filter */ $ReportCalculation = new RowManager_ReportFilterManager(); $ReportCalculation->dropTable(); $ReportCalculation->createTable(); /* * StatDataType Table *