-- Deploy kakeibo:transactions to pg
-- requires: schema
-- requires: articles

BEGIN;

ALTER TABLE kakeibo.transactions
  ADD CONSTRAINT transactions_type_code_fkey
  FOREIGN KEY (type_code)
  REFERENCES kakeibo.transaction_types (code);

COMMIT;
