This project is archived and is in readonly mode.

#753 ✓wontfix
Alan Johnson

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

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>

People watching this ticket

Pages