/// <summary>
        /// Initializes a new instance of the <see cref="SimpleAuthMartenOptions"/> class.
        /// </summary>
        /// <param name="connectionString">The connection string</param>
        /// <param name="logger">The logger.</param>
        /// <param name="searchPath">The schema name</param>
        /// <param name="autoCreate">Schema creation options</param>
        public SimpleAuthMartenOptions(
            string connectionString,
            IMartenLogger?logger  = null,
            string searchPath     = "",
            AutoCreate autoCreate = AutoCreate.CreateOrUpdate)
        {
            Serializer <CustomJsonSerializer>();
            Connection(connectionString);
            if (logger != null)
            {
                Logger(logger);
            }
            Schema.Include <SimpleAuthRegistry>();
            if (!string.IsNullOrWhiteSpace(searchPath))
            {
                DatabaseSchemaName = searchPath;
            }

            Policies.DisableInformationalFields().AllDocumentsAreMultiTenanted();
            AutoCreateSchemaObjects             = autoCreate;
            GeneratedCodeMode                   = TypeLoadMode.Static;
            Advanced.DuplicatedFieldEnumStorage = EnumStorage.AsString;
            Advanced.DuplicatedFieldUseTimestampWithoutTimeZoneForDateTime = true;
        }