21.05.2014 Views

Unit Test Your Database! - PGCon

Unit Test Your Database! - PGCon

Unit Test Your Database! - PGCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How it Works<br />

> mkdir flipr<br />

> cd flipr <br />

> git init .<br />

Initialized empty Git repository in /flipr/.git/<br />

> touch README.md<br />

> git add .<br />

> git commit -­‐am 'Fist post!'<br />

> sqitch -­‐-­‐engine pg init<br />

Created sql/deploy<br />

Created sql/revert<br />

Created sql/test<br />

Created sqitch.conf<br />

>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!