racktables icon indicating copy to clipboard operation
racktables copied to clipboard

fix VLANSwitch table for mysql 5.7

Open github138 opened this issue 8 years ago • 2 comments

  • 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!!

github138 avatar Jul 14 '16 13:07 github138

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.

infrastation avatar Jul 14 '16 14:07 infrastation

We can get back to this after PR #158 if you want.

infrastation avatar Jul 15 '16 11:07 infrastation