racktables
racktables copied to clipboard
fix VLANSwitch table for mysql 5.7
- remove workaround 0c53bc4
This should fix VLANSwitch table creation with mysql 5.7 and NO_ZERO_DATE enabled (default).
Install works. Upgrade needs testing because i don't use this feature and have no data!!
The fix to this problem does include the table changes but it also must include a thorough review of the SQL queries and the PHP code that use the table to make sure everything works as before. Commit 8ea0abc was an easy example of such change. I started to verify the changes to VLANSwitch
and could do two columns but the other two turned out to be difficult and I didn't want to delay the release, that's why the workaround is in place.
We can get back to this after PR #158 if you want.