mapguesser/database/migrations/structure/20200705_0218_fix_timestamp_onupdate.sql

3 lines
88 B
SQL

ALTER TABLE `sessions`
MODIFY `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP;