Add module and schema data to database for better migration support