You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
I don't know what happened here. I am new to go so I actually don't want to dig deeper in the source code but I assume primary key recognition relies on a column name being id rather than actual PRIMARY KEY constraint.
The text was updated successfully, but these errors were encountered:
Describe the bug
reform-db init assigns primary key to a wrong column
To Reproduce
reform-db -db-driver MySQL -db-source ... init /package/path
Expected behavior
Expected model is:
Additional context
I don't know what happened here. I am new to go so I actually don't want to dig deeper in the source code but I assume primary key recognition relies on a column name being
id
rather than actualPRIMARY KEY
constraint.The text was updated successfully, but these errors were encountered: