Database migration does not work with PostgreSQL
vlaborie opened this issue · comments
Victor Laborie commented
Hello,
2024-04-16 23:27:44.837 CEST [277613] warpgate@warpgate ERROR: syntax error at or near "`" at character 13
2024-04-16 23:27:44.837 CEST [277613] warpgate@warpgate STATEMENT: ALTER TABLE `tickets` MODIFY COLUMN `expiry` TIMESTAMP NULL DEFAULT NULL
Caracter ` (backtick) is not supported by PostgreSQL.
This request is hardcoded in warpgate-db-migrations/src/m00001_create_ticket.rs but is not compatible with PostgreSQL.