Skip to content

Commit c2dff93

Browse files
committed
Added address to schema
1 parent b8bc3a5 commit c2dff93

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

schema/deploy/address.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- Deploy demo:address to pg
2+
3+
BEGIN;
4+
5+
ALTER TABLE users ADD COLUMN adress VARCHAR DEFAULT '' NOT NULL;
6+
7+
COMMIT;

schema/revert/address.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- Revert demo:address from pg
2+
3+
BEGIN;
4+
5+
ALTER TABLE users DROP COLUMN address;
6+
7+
COMMIT;

schema/sqitch.plan

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
%uri=https://github.com/minutelab/demo-go
44

55
initial 2017-01-19T13:49:46Z root <root@6e4938a74871> # Initial schema
6+
address 2017-01-19T15:08:46Z root <root@abde38757ffc> # add address to users

schema/verify/address.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- Verify demo:address on pg
2+
3+
BEGIN;
4+
5+
-- XXX Add verifications here.
6+
7+
ROLLBACK;

0 commit comments

Comments
 (0)