The title really says it all. I have a Rails 3.2 app with a table of many rows, which are added but never changed or deleted. So the default updated_at
column isn't useful, though the created_at
column is. Can I safely do a migration to delete only updated_at
?
Addition: After a good pointer, I'm still plumbing for the code that creates the SQL update statements. It's here the created_at
column would have to be omitted if it weren't in the schema. In this app I can't afford to merely "try it" and assume that if it works in testing it will always work. I need to be absolutely sure. The search and cross-links of the Rails source on line that I can find are not very helpful for drilling down.