create table if not exists Company ( id bigint primary key, name varchar(255) not null, members int not null, created_time timestamp not null default current_timestamp(), modified_time timestamp not null default current_timestamp() on update current_timestamp(), deleted tinyint not null default false ); create table if not exists Employee ( id bigint primary key, name varchar(255) not null, age int not null, company_id bigint not null, created_time timestamp not null default current_timestamp(), modified_time timestamp not null default current_timestamp() on update current_timestamp(), deleted tinyint not null default false );