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.

Commit It!<br />

> git add .<br />

> git commit -­‐m 'Add app user.'<br />

[master 36acafd] Add app user.<br />

2 files changed, 2 insertions(+)<br />

create mode 100644 sql/deploy/appuser.sql<br />

create mode 100644 sql/revert/appuser.sql<br />

create mode 100644 sql/test/appuser.sql<br />

> sqitch -­‐-­‐db-­‐name flipr_test deploy<br />

Deploying 36acafd to flipr_test<br />

+ appuser<br />

>

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

Saved successfully!

Ooh no, something went wrong!