the rails migration guide doesn't mention how to create a unique index
If the column isn't a belongs_to, that should error. You need to put it on create_index or t.index
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
If the column isn't a belongs_to, that should error. You need to put it on create_index or t.index