Migration 1762000000000-create-audit-log-table.ts creates http_method as varchar and includes a version column; the entity AuditLog declares http_method as an enum (audit_logs_http_method_enum) and has no version column. The timestamp column is also declared as timestamptz in the migration but mapped via @CreateDateColumn({ name: 'timestamp' }) (timestamp without tz).
Result: schema drift wants to change http_method type, drop version, and change timestamp (all part of the #1194 snapshot).
Fix: pick canonical definitions — enum vs varchar for http_method, keep or drop version — and align the migration with the entity (or add a follow-up migration that reconciles them).
Migration
1762000000000-create-audit-log-table.tscreateshttp_methodasvarcharand includes aversioncolumn; the entityAuditLogdeclareshttp_methodas an enum (audit_logs_http_method_enum) and has noversioncolumn. Thetimestampcolumn is also declared astimestamptzin the migration but mapped via@CreateDateColumn({ name: 'timestamp' })(timestamp without tz).Result: schema drift wants to change
http_methodtype, dropversion, and changetimestamp(all part of the #1194 snapshot).Fix: pick canonical definitions — enum vs varchar for
http_method, keep or dropversion— and align the migration with the entity (or add a follow-up migration that reconciles them).