productos, equivalencias, cross-sell y cantidades
This commit is contained in:
12
db/migrations/20260119110000_reco_rule_items_audience.sql
Normal file
12
db/migrations/20260119110000_reco_rule_items_audience.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- migrate:up
|
||||
|
||||
-- Agregar campo para distinguir adulto/niño
|
||||
alter table reco_rule_items
|
||||
add column if not exists audience_type text not null default 'adult';
|
||||
|
||||
-- Valores válidos: 'adult', 'child', 'all'
|
||||
comment on column reco_rule_items.audience_type is 'Tipo de audiencia: adult, child, all';
|
||||
|
||||
-- migrate:down
|
||||
alter table reco_rule_items
|
||||
drop column if exists audience_type;
|
||||
Reference in New Issue
Block a user