System to allow automatic schema migration, index creation, and database management for MySQL and PostgreSQL