I have Mysql DB that contains table 'tariff' with field
start_date DATETIME DEFAULT (current_timestamp() + interval 10 year),
And when I try to migrate database to postgreSQL using pgloader i get error
ERROR Database error 0A000: value "current" for datetime does not supported any more QUERY: CRE ATE TABLE yamalkernel.tariff 2021-10-06T09:51:25.248000+03:00 FATAL Failed to create the schema, see above
I run pgloader this way
$ pgloader scenario.load
$ cat scenario.load
LOAD DATABASE
FROM mysql://user:password@127.0.0.1/database1
INTO postgresql://postgres:postgres@127.0.0.1:5432/database2;