Coder Social home page Coder Social logo

Comments (5)

bryanlarsen avatar bryanlarsen commented on June 23, 2024

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.

from hobo.

enwood avatar enwood commented on June 23, 2024

Thanks, Bryan.

I guess what's ultimately missing is the ability to override or
intervene/suggest a Hobo-generated index name for the migration generator.

T

On Mon, Jan 27, 2014 at 12:23 PM, Bryan Larsen [email protected]:

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.


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33398328
.

from hobo.

enwood avatar enwood commented on June 23, 2024

Whoops, yes, I forgot you can do this:

belongs_to :other_related_instrument, :class_name => "Instrument",
:index => "my_not_so_long_index_name"

That'll teach me to use really verbose class names.

T

On Mon, Jan 27, 2014 at 1:14 PM, Tim Griffin [email protected] wrote:

Thanks, Bryan.

I guess what's ultimately missing is the ability to override or
intervene/suggest a Hobo-generated index name for the migration generator.

T

On Mon, Jan 27, 2014 at 12:23 PM, Bryan Larsen [email protected]:

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.


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33398328
.

from hobo.

iox avatar iox commented on June 23, 2024

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?

from hobo.

enwood avatar enwood commented on June 23, 2024

Yes, I admit, it's an obscure scenario unless you like using long,
description model names like I do AND you happen to want to switch
databases. It was an easy fix, and one I could have avoided had I not
relied on Hobo's automatic index naming, and used the :index => parameter
on my belongs_to statements.

T

On Tue, Jan 28, 2014 at 12:46 AM, Ignacio Huerta
[email protected]:

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?


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33452881
.

from hobo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.