acupedia-api/app/db/migrations/20260921_add_template_searc...

7 lines
323 B
SQL

-- Template-level search/filter participation.
-- Strict new contract: both flags default false; template JSON must declare both.
alter table content.attribute_definition_sets
add column if not exists is_searchable boolean not null default false,
add column if not exists is_filterable boolean not null default false;