public async Task <IStreamStore> GetStreamStore(string schema)
        {
            var settings = new PostgresStreamStoreSettings(ConnectionString)
            {
                Schema    = schema,
                GetUtcNow = () => GetUtcNow()
            };
            var store = new PostgresStreamStore(settings);
            await store.InitializeStore();

            return(store);
        }
        public override async Task <IStreamStore> GetStreamStore()
        {
            await CreateDatabase();

            var settings = new PostgresStreamStoreSettings(ConnectionString)
            {
                Schema    = _schema,
                GetUtcNow = () => GetUtcNow()
            };
            var store = new PostgresStreamStore(settings);
            await store.DropAll(ignoreErrors : true);

            await store.InitializeStore();

            return(store);
        }