Refactor DbStructure

- Rename `dbstructure` to `db` in App.hs
- Rename PgStructure* to DbStructure*
- Move `DbStructure` creation to DbStructure.hs
This commit is contained in:
calebmer
2015-11-11 09:03:06 -05:00
parent 3f1d2d8ed9
commit 7560fafbab
11 changed files with 81 additions and 99 deletions
+2
View File
@@ -175,6 +175,7 @@ spec = around withApp $ do
},
{
"references":{
"schema":"test",
"column":"id",
"table":"auto_incrementing_pk"
},
@@ -191,6 +192,7 @@ spec = around withApp $ do
},
{
"references":{
"schema":"test",
"column":"k",
"table":"simple_pk"
},