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
Are the field names reserved in Rails or in SQL? If they're reserved in SQL, then I'm not sure how they can be field names in the first place ... perhaps a more specific example of the code you'd like to use? Thanks!
Reserved in SQL.
Try create a model that have a field name sql, then try insert using normal ActiveRecord operation and Crewait, you will see that Crewait fails while ActiveRecord succeed.
it is easy to fix, the names in the sql string has to be enclosed in back ticks, that is what rails does, I ran in to this problem with a table called references and i am forking to make a patch
When file name is a reserved keyword (for example
sql
) then the insertion will failed.The text was updated successfully, but these errors were encountered: