Updated database schema and postInstall script