\echo pattern

create table pattern
(
    id                               integer    primary key generated always as identity,
    column_profile_id                integer,
    pattern                          varchar(64),
    frequency                        integer,
    created_at                       timestamp  default now(),
    updated_at                       timestamp,
    constraint foreign_key_pattern_to_column_profile foreign key (column_profile_id) references column_profile(id)
);

alter table pattern owner to developer;
