File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
namespace SqlStreamStore.FSharp.Postgres
2
2
3
- open SqlStreamStore
4
-
5
3
type PostgresConfig =
6
4
{ host: string
7
5
port: string
@@ -10,7 +8,7 @@ type PostgresConfig =
10
8
database: string }
11
9
12
10
module Postgres =
13
- let createStore : PostgresConfig -> PostgresStreamStore =
11
+ let createStore : PostgresConfig -> SqlStreamStore. PostgresStreamStore =
14
12
fun config ->
15
13
16
14
let storeSettings : string =
@@ -22,7 +20,7 @@ module Postgres =
22
20
config.password
23
21
config.database
24
22
25
- new PostgresStreamStore( PostgresStreamStoreSettings( storeSettings))
23
+ new SqlStreamStore. PostgresStreamStore( SqlStreamStore. PostgresStreamStoreSettings( storeSettings))
26
24
27
- let createSchema : PostgresStreamStore -> Async < unit > =
25
+ let createSchema : SqlStreamStore. PostgresStreamStore -> Async < unit > =
28
26
fun conn -> conn.CreateSchemaIfNotExists() |> Async.AwaitTask
You can’t perform that action at this time.
0 commit comments