TromsFylkestrafikk / ragnarok-ruter

Ruter sink for Ragnarok
GNU General Public License v3.0
0 stars 0 forks source link

id column too small, data truncated, cannot be null #15

Open tfk-kaare opened 1 day ago

tfk-kaare commented 1 day ago

There are a few neglected error messages in the ruter import causing missing and fault data. They are:

DoD

tfk-kaare commented 1 day ago

ID columns with more than 256 chars is problematic in mysql. The solution is to create a md5 of it and add the transaction ID as a separate real_id column with type tinytext.