This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I have a migrations file that creates a table called order. The problem is that order is a reserved word in MySQL and it gave me a big headache trying to find that out. I read that in MySQL you are allowed to use reserved words as identifiers as long as you put them in single quotes. I end up doing this
and when I try to scaffold using the order model I still get an error. Is there anyway to get around this without renaming the model?
BTW- The error I get tells me that I need to create a table for my model before updating scaffolding from new DB schema