This project is archived and is in readonly mode.
Warn Users When Creating Reserved Column Names in Migrations
Reported by Alan Johnson | August 4th, 2008 @ 12:20 PM | in 2.x
I always catch myself trying to make columns named type or version, and I'm sure that there are several other column names that shouldn't be allowed. It would be nice if migrations would warn you when you try to name your columns that as an extra bit of protection against wasting time renaming column names.
Comments and changes to this ticket
-
josh November 22nd, 2008 @ 06:40 PM
- State changed from new to wontfix
Sounds like a good idea. Got patch?
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>