Start working on multiple data backends
This commit is contained in:
1 parent
8733c4d1d1
commit
6cabe97b30
2 files changed
+7
-5
No files matched your search
@@ -12,7 +12,9 @@ data Pg = Pg { username :: Text
|
||||
, database :: Text }
|
||||
deriving (Show, Generic)
|
||||
|
||||
newtype Store = Store { path :: Text } deriving (Show, Generic)
|
||||
data Store = Filestore { path :: Text }
|
||||
| IPFS { common :: Text }
|
||||
deriving (Show, Generic)
|
||||
|
||||
data Config = Config { database :: Pg
|
||||
, store :: Store }
|
||||
|
||||
Reference in new issue
Block a user