Files
portal-api/database/migrations
baodev0andClaude Opus 5.5 725edb11a3 fix: migration 2FA lỗi Invalid default value cho expires_at
MySQL tắt explicit_defaults_for_timestamp gán default 0000-00-00 cho
TIMESTAMP NOT NULL không phải cột timestamp đầu tiên, bị NO_ZERO_DATE chặn.
Đổi expires_at sang DATETIME; bỏ qua thêm two_factor_enabled nếu đã có
(DDL MySQL không rollback nên lần chạy lỗi trước đã thêm cột).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 08:31:18 +07:00
..