git.iko.soy/typeable/octopod
on master help sign in
init sqitch
commit1ca3ea8eda3e600bfa288aa00698f231c9b9fa57 authorAndrei Orlov <aaorlov1@gmail.com> dateSun 9 Feb 2020, 15:16 (7 years ago) parent5f7ee4c
6 files changed+12−2
deploy/.gitkeep revert/.gitkeep sqitch.conf+8 sqitch.plan+4 src/DMS/Lib.hs−2 verify/.gitkeep
deploy/.gitkeepnew file

No changes to the content.

revert/.gitkeepnew file

No changes to the content.

sqitch.confnew file+8
@@ -0,0 +1,8 @@
1+[core]
2+ engine = pg
3+ # plan_file = sqitch.plan
4+ # top_dir = .
5+# [engine "pg"]
6+ # target = db:pg:
7+ # registry = sqitch
8+ # client = psql
sqitch.plannew file+4
@@ -0,0 +1,4 @@
1+%syntax-version=1.0.0
2+%project=dm
3+%uri=https://github.com/sqitchers/sqitch-intro/
4+
src/DMS/Lib.hs−2
@@ -95,7 +95,6 @@ edit p n (Deployment _ _ e) = do
9595 withResource p $ \conn ->
9696 execute conn "UPDATE deployments SET envs = ?, updated_at = now() WHERE name = ?" (unwords e, n)
9797
98−
9998destroy :: PgPool -> Text -> Handler Text
10099destroy p n = do
101100 deleteDeployment
@@ -108,7 +107,6 @@ destroy p n = do
108107 withResource p $ \conn ->
109108 execute conn "DELETE FROM deployments WHERE name = ?" (Only n)
110109
111−
112110update :: PgPool -> Text -> Deployment -> Handler Text
113111update p n (Deployment _ t _) = do
114112 updateDeployment
verify/.gitkeepnew file

No changes to the content.