Closed Trellian closed 6 years ago
Thanks! I'll fix this for the next release.
@koskimas Thanks! MySQL is notorious for it's poor foreign key handling, for many years now. And I don't understand why knex has a 'dropForeign' method, but no 'addForeign' method. Weird.
On MySQL, the table creation does not happen successfully (because of the impossibly stupid handling of foreign keys in MySQL).
I had to modify the 'createTables' class as follows
`