using MySql.Data.MySqlClient;

namespace Jiaowu.Api.Infrastructure.Persistence;

public static class MySqlConnectionStringPolicy
{
    public static string ForApplication(string connectionString)
    {
        var builder = new MySqlConnectionStringBuilder(connectionString)
        {
            AllowUserVariables = true
        };
        return builder.ConnectionString;
    }
}
