core: Add report new db schema
report: Handle different datatypes in different tables