2570c3410b
Add a changed_at timestamp to the entries table. This field is updated whenever the entry's metadata changes.
3 lines
172 B
SQL
3 lines
172 B
SQL
alter table entries add column changed_at timestamp with time zone;
|
|
update entries set changed_at = published_at;
|
|
alter table entries alter column changed_at set not null;
|