sequelize-sscce
sequelize-sscce copied to clipboard
Location data model will fail to create in MySQL 8
Fails with error: SequelizeDatabaseError: FUNCTION db.GeomFromText does not exist
Hello! I noticed you are talking about MySQL 8, but the SSCCE is running against MySQL 5.7. This reminds me that we should have tests running against other versions too. Perhaps this is not the only issue with mysql 8. Can you also edit this part so your SSCCE runs against mysql 8?
@papb Yes! Thank you for pointing me in the right direction
I believe this issue can now be closed since support and tests for the new ST_GeomFromText API were added in [email protected]
(and I tested in 6.17.0
)
Reference: https://github.com/sequelize/sequelize/issues/13086