cviebrock / sequel-pro-laravel-export

A Sequel Pro / Sequel Ace bundle to generate Laravel migration files from existing tables.
MIT License
921 stars 55 forks source link

Check that REFERENTIAL_CONSTRAINTS table exists before using it. #21

Closed hulkur closed 6 years ago

hulkur commented 6 years ago

Table REFERENTIAL_CONSTRAINTS exists since MySql 5.1(.10)?

Added check that this table exists before getting foreign key information so that it could be used on older servers.

cviebrock commented 6 years ago

Great! Hopefully no one is still using MySQL 5.1 😉