morffix/migrations/000017_alter_files_table_hash.up.sql
Samuel Lorch e47a254cad
All checks were successful
/ release (push) Successful in 42s
Improve Scan, Seperate Hashing
2024-07-07 01:12:01 +02:00

3 lines
109 B
SQL

ALTER TABLE files
ALTER COLUMN md5 DROP NOT NULL,
ADD mod_time TIMESTAMP NOT NULL DEFAULT current_timestamp;