-- migrate:up
ALTER TABLE wa_identity_map
  ADD COLUMN provider text NOT NULL DEFAULT 'woo';

ALTER TABLE wa_identity_map
  RENAME COLUMN woo_customer_id TO external_customer_id;

-- migrate:down
ALTER TABLE wa_identity_map
  DROP COLUMN provider;

ALTER TABLE wa_identity_map
  RENAME COLUMN external_customer_id TO woo_customer_id;
