Fix add missing ext_payment_site
This commit is contained in:
parent
6557c60b22
commit
1745f3f25f
3 changed files with 6 additions and 3 deletions
|
|
@ -465,6 +465,7 @@ ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_statut (statut);
|
|||
|
||||
ALTER TABLE fk_product_price_product DROP FOREIGN KEY fk_product_price_product;
|
||||
|
||||
ALTER TABLE llx_societe_rib ADD COLUMN ext_payment_site varchar(128);
|
||||
|
||||
-- Drop the composite unique index that exists on llx_commande_fournisseur to rebuild a new one without the fk_soc.
|
||||
-- The old design allowed for a duplicate reference as long as fk_soc was not the same.
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ create table llx_paiement
|
|||
fk_paiement integer NOT NULL, -- type of payment in llx_c_paiement
|
||||
num_paiement varchar(50),
|
||||
note text,
|
||||
ext_payment_id varchar(255), -- external id of payment (for example Stripe charge id)
|
||||
ext_payment_site varchar(128), -- name of external paymentmode (for example 'stripe')
|
||||
ext_payment_id varchar(255), -- external id of payment (for example Stripe payment intent ID 'pi_...:cus_...@pk_live_...')
|
||||
ext_payment_site varchar(128), -- name of external paymentmode (for example 'StripeLive')
|
||||
fk_bank integer NOT NULL DEFAULT 0,
|
||||
fk_user_creat integer, -- utilisateur qui a cree l'info
|
||||
fk_user_modif integer, -- utilisateur qui a modifie l'info
|
||||
|
|
|
|||
|
|
@ -69,10 +69,12 @@ create table llx_societe_rib
|
|||
starting_date date,
|
||||
total_amount_of_all_payments double(24,8),
|
||||
|
||||
--For Stripe
|
||||
--For Stripe, Stancer, ...
|
||||
stripe_card_ref varchar(128), -- 'card_...'
|
||||
stripe_account varchar(128), -- 'pk_live_...'
|
||||
|
||||
ext_payment_site varchar(128), -- name of external paymentmode (for example 'StripeLive')
|
||||
|
||||
comment varchar(255),
|
||||
ipaddress varchar(68),
|
||||
status integer NOT NULL DEFAULT 1, -- 1=ACTIVE, 0=IN_TRASH
|
||||
|
|
|
|||
Loading…
Reference in a new issue