-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit index names to 63 characters to facilitate changing databases #65
Comments
Oracle has some sort of silly limit. 32, IIRC. Anybody using rails/hobo on Oracle pretty much has to specify all of their index names manually. |
Thanks, Bryan. I guess what's ultimately missing is the ability to override or T On Mon, Jan 27, 2014 at 12:23 PM, Bryan Larsen notifications@github.comwrote:
|
Whoops, yes, I forgot you can do this: belongs_to :other_related_instrument, :class_name => "Instrument", That'll teach me to use really verbose class names. T On Mon, Jan 27, 2014 at 1:14 PM, Tim Griffin tech@enwood.ca wrote:
|
Mmm, I didn't know that about Oracle, and I had not renamed any index :P. What do you think if we close this issue and leave Hobo as it is? |
Yes, I admit, it's an obscure scenario unless you like using long, T On Tue, Jan 28, 2014 at 12:46 AM, Ignacio Huerta
|
Postgresql: 63
Mysql: 64
Sqlite: 64
When a user goes from sqlite or mysql to postgresql, they might face weird errors. Tim proposed limiting all index to a maximum of 63 characters, and I think it's a great idea.
https://groups.google.com/forum/#!topic/hobousers/d7y2LydE1y8
The text was updated successfully, but these errors were encountered: