create table damage
(
    id                             serial      not null,
    vehicle_id                     integer     not null,
    claim_id                       integer     not null,
    description                    varchar(2000),
    created_at                     timestamp   not null default now(),
    updated_at                     timestamp,
    constraint primary_key_damage  primary key (id),
    constraint foreign_key_damage_vehicle   
        foreign key (vehicle_id) references vehicle(id),
    constraint foreign_key_damage_claim     
        foreign key (claim_id) references claim(id)
);
