lavina/crates/lavina-core/migrations/5_message_datetime.sql

3 lines
129 B
SQL

alter table messages drop column created_at;
alter table messages add column created_at datetime default "1970-01-01T00:00:00Z";