1 -- Load the TAP functions.
9 SELECT hasnt_column('money', 'credit_card_payment', 'cc_type',
10 'Column "cc_type" on money.credit_card_payment should not exist');
11 SELECT hasnt_column('money', 'credit_card_payment', 'expire_month',
12 'Column "expire_month" on money.credit_card_payment should not exist');
13 SELECT hasnt_column('money', 'credit_card_payment', 'expire_year',
14 'Column "expire_year" on money.credit_card_payment should not exist');
15 SELECT hasnt_column('money', 'credit_card_payment', 'cc_first_name',
16 'Column "cc_first_name" on money.credit_card_payment should not exist');
17 SELECT hasnt_column('money', 'credit_card_payment', 'cc_last_name',
18 'Column "cc_last_name" on money.credit_card_payment should not exist');
20 -- make sure at least one column does exist
21 SELECT has_column('money', 'credit_card_payment', 'approval_code',
22 'Column "approval_code" on money.credit_card_payment should exist');
24 -- Finish the tests and clean up.
25 SELECT * FROM finish();