create table filters ( expression text, variables ); comment on table filters is ' Defines a condition for values. '; comment on column filters.expression is ' An SQL-like expression. '; comment on column filters.variables is ' A map of values, which can be used in the expression. Variables can be access by prepending them with `$`. ';