/* 
 * Arrebol Consultancy copyright.
 * 
 * This code belongs to Arrebol Consultancy
 * its use, redistribution or modification are prohibited 
 * without written authorization from Arrebol Consultancy.
 */
/**
 * Author:  Carlos Janitzio Zavala Lopez <janitzio.zavala@arrebol.com.mx>
 * Created: 22 jul. 2022
 */
-- --------------------------------------------------------
--
-- Estructura para la vista `SALE`
--
ALTER TABLE SALE
ADD COLUMN `id_bank_card` CHAR(36);
-- --------------------------------------------------------
--
-- Estructura para la vista `SALE`
--
ALTER TABLE SALE
ADD CONSTRAINT `sale_bank_card_id_bank_card_fk` FOREIGN KEY (`id_bank_card`) REFERENCES `BANK_CARD` (`id`) ON UPDATE CASCADE;