create table class_a (id varchar(255) not null, some_property varchar(255), primary key (id));
create table class_b (id varchar(255) not null, some_property varchar(255), class_a_id varchar(255), primary key (id));
alter table if exists class_b add constraint FKjpk05raxduof60eee8p6khbch foreign key (class_a_id) references class_a