Add flags for mysql and pgsql