public void Schema_creation_script_should_include_schema()
        {
            string schema = "custom_schema";
            var    store  = new PostgresStreamStore(new PostgresStreamStoreSettings("server=.;database=sss")
            {
                Schema = schema,
            });

            var sqlScript = store.GetSchemaCreationScript();

            sqlScript.ToLowerInvariant().ShouldMatch("create schema if not exists " + schema);
        }
        public void Can_export_database_creation_script()
        {
            string schema = "custom_schema";
            var    store  = new PostgresStreamStore(new PostgresStreamStoreSettings("server=.;database=sss")
            {
                Schema = schema,
            });

            var sqlScript = store.GetSchemaCreationScript();

            sqlScript.ShouldBe(new Scripts(schema).CreateSchema);
        }