- Page 1 and 2:
Simple SQL Change Management with S
- Page 3 and 4:
Whats Wrong with Migrations? Incomp
- Page 5 and 6:
Whats Wrong with Migrations? Incomp
- Page 7 and 8:
What about SQL Migrations? Incomple
- Page 9 and 10:
What about SQL Migrations? ——
- Page 11 and 12:
Imagine this Change
- Page 13 and 14:
Imagine this Change > git diff dif
- Page 15 and 16:
Not So Much Paste entire function t
- Page 17 and 18:
Not So Much Paste entire function t
- Page 19 and 20:
Not So Much Paste entire function t
- Page 21 and 22:
What about Liquibase? filename
- Page 23 and 24:
What about Liquibase? Wha
- Page 25 and 26:
depesz’s Versioning?
- Page 27 and 28:
depesz’s Versioning? https://gith
- Page 29 and 30:
depesz’s Versioning? https://gith
- Page 31:
depesz’s Versioning? https://gith
- Page 34 and 35:
Sq—what? SQL changes
- Page 36 and 37:
Sq—what? SQitch
- Page 38 and 39:
Sqitch Philosophy
- Page 40 and 41:
Sqitch Philosophy No opinions Nativ
- Page 42 and 43:
Sqitch Philosophy No opinions Nativ
- Page 44 and 45:
Sqitch Philosophy No opinions Nativ
- Page 46 and 47:
Sqitch Philosophy Reduced duplicati
- Page 48 and 49:
Sqitch Philosophy Reduced duplicati
- Page 50 and 51:
Sqitch Philosophy Reduced duplicati
- Page 52 and 53:
Sqitch Terminology step
- Page 54 and 55:
Sqitch Terminology step tag plan
- Page 56 and 57:
Sqitch Terminology step tag plan de
- Page 58 and 59:
Caveats
- Page 60 and 61:
Caveats Under heavy development v0.
- Page 62 and 63:
Caveats Under heavy development v0.
- Page 64 and 65:
How it Works
- Page 66 and 67:
How it Works > mkdir flipr > cd
- Page 68 and 69:
sqitch.conf [core] engine = pg #
- Page 70 and 71:
Add User Config
- Page 72 and 73:
Add User Config > sqitch config
- Page 74 and 75:
~/.sqitch/sqitch.conf [core "pg"]
- Page 76 and 77:
Make It So
- Page 78 and 79:
First Deployment
- Page 80 and 81:
First Deployment > sqitch add-
- Page 82 and 83:
sql/deploy/appuser.sql -‐-‐
- Page 84 and 85:
First Deployment > sqitch add-
- Page 86 and 87:
sql/revert/appuser.sql -‐-‐
- Page 88 and 89:
Make it So!
- Page 90 and 91:
Make it So! > createdb flipr_test
- Page 92 and 93:
Make it So! > createdb flipr_test
- Page 94 and 95:
How’s it Look?
- Page 96 and 97:
How’s it Look? > sqitch -‐d
- Page 98 and 99:
How’s it Look? > sqitch -‐d
- Page 100 and 101:
Go Back > sqitch -‐-‐db-
- Page 102 and 103:
Go Back > sqitch -‐-‐db-
- Page 104 and 105:
What’s The Status?
- Page 106 and 107:
What’s The Status? > sqitch -
- Page 108 and 109:
History > sqitch -‐d flipr_t
- Page 110 and 111:
History > sqitch -‐d flipr_t
- Page 112 and 113:
Commit It! > git add . > git c
- Page 114 and 115:
Commit It! > git add . > git c
- Page 116 and 117:
Status Update
- Page 118 and 119:
Save My Fingers
- Page 120 and 121:
Save My Fingers > sqitch config
- Page 122 and 123:
Dependencies! > sqitch add-‐s
- Page 124 and 125:
Dependencies! > sqitch add-‐s
- Page 126 and 127:
sql/deploy/users.sql -‐-‐
- Page 128 and 129:
Dependencies! > sqitch add-‐s
- Page 130 and 131:
sql/revert/users -‐-‐ Reve
- Page 132 and 133:
Make Users
- Page 134 and 135:
Make Users > sqitch deploy -
- Page 136 and 137:
Status Update
- Page 138 and 139:
Status Update > sqitch status #
- Page 140 and 141:
Check in and Deploy
- Page 142 and 143:
Check in and Deploy > git add .
- Page 144 and 145:
Up to Date > sqitch status -
- Page 146 and 147:
Up to Date > sqitch status -
- Page 148 and 149:
A Twofer > sqitch add-‐step
- Page 150 and 151:
A Twofer > sqitch add-‐step
- Page 152 and 153:
A Twofer > sqitch add-‐step i
- Page 154 and 155:
sql/deploy/ insert_user.sql -‐-
- Page 156 and 157:
A Twofer > sqitch add-‐step
- Page 158 and 159:
sql/deploy/ change_pass.sql -‐-
- Page 160 and 161:
Deploy Functions
- Page 162 and 163:
Deploy Functions > sqitch deploy
- Page 164 and 165:
Commit It sqitch revert --to HEAD
- Page 166 and 167:
Commit It sqitch revert --to HEAD g
- Page 168 and 169:
Stage It
- Page 170 and 171:
Stage It > git tag v1.0.0-‐d
- Page 172 and 173:
Stage It > git tag v1.0.0-‐d
- Page 174 and 175:
Stage Status? > sqitch -‐-
- Page 176 and 177:
Distribution Bundling Bundle plan +
- Page 178 and 179:
Distribution Bundling Bundle plan +
- Page 180 and 181: Distribution Bundling Bundle plan +
- Page 182 and 183: Ship It!
- Page 184 and 185: Ship It! > sqitch bundle -‐-
- Page 186 and 187: Ship It! > sqitch bundle -‐-
- Page 188 and 189: The Plan, Man [v1.0.0-‐dev1] ap
- Page 190 and 191: Kick the Tires > cd bundle > cre
- Page 192 and 193: Ch-Check it Out
- Page 194 and 195: Ch-Check it Out > sqitch -‐-
- Page 196 and 197: Ruh-Roh > psql -‐d flipr_tes
- Page 198 and 199: Add pgcrypto
- Page 200 and 201: Add pgcrypto > sqitch add-‐st
- Page 202 and 203: ssql/deploy/pgcrypto.sql -‐-
- Page 204 and 205: How to Modify? Copy insert_user.sql
- Page 206 and 207: How to Modify? Copy insert_user.sql
- Page 208 and 209: How to Modify? Copy insert_user.sql
- Page 211 and 212: git diff HEAD^ diff -‐-‐
- Page 213 and 214: Use the VCS, Luke
- Page 215 and 216: Use the VCS, Luke Just modify deplo
- Page 217 and 218: Use the VCS, Luke Just modify deplo
- Page 219 and 220: Use the VCS, Luke Just modify deplo
- Page 221 and 222: What’s the Diff? > diff -‐u
- Page 223 and 224: What’s the Diff? > diff -‐u
- Page 225 and 226: Send it Up! > sqitch deploy -
- Page 227 and 228: Send it Up! > sqitch deploy -
- Page 229: Can We Go Back? > sqitch revert -
- Page 233 and 234: What About Bundling? > git tag v
- Page 235 and 236: What About Bundling? > git tag v
- Page 237 and 238: Make it So
- Page 239 and 240: Make it So > cd bundle > sqitch
- Page 241 and 242: Other Commands
- Page 243 and 244: Other Commands log - Like git log c
- Page 245 and 246: Other Commands log - Like git log c
- Page 247 and 248: Current Status Working on it full t
- Page 249 and 250: Current Status Working on it full t
- Page 251 and 252: Current Status Working on it full t
- Page 253 and 254: http://sqitch.org/ Fork It
- Page 255 and 256: Fork It http://sqitch.org/ https://
- Page 257 and 258: Fork It http://sqitch.org/ https://
- Page 259 and 260: Thank you.