Skip to content

Commit

Permalink
feat(tree-type): add update and deleted columns (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
albert1413 authored Nov 26, 2024
2 parents 8976618 + 6fe9718 commit ec01ec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/database/start-scripts/0-init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ create table tree_types (
species varchar(255) unique,
photo_id int,
created_at timestamp default current_timestamp,
updated_at timestamp,
deleted_at timestamp,
foreign key (photo_id) references photos(id),
constraint UC_TreeType unique (family, genus, species)
);
Expand Down

0 comments on commit ec01ec6

Please sign in to comment.