Why am I not getting any index defintions in my Rails schema.db - "# unrecognized index ..." -


rails 2.3.5, postgres backend, read-only access external oracle database.

my schema.db file not getting index definitions. instead, getting lines in schema.db say:

# unrecognized index "auditable_index" type activerecord::connectionadapters::indexdefinition  

rails 2.3.5 not support oracle out of box. using sql schema format instead of schema.rb should work around issue.

config.active_record.schema_format = :sql 

i think oracle-enhanced gem supports proper generation of oracle indexes i've never used it. might worth shot if don't want change schema format.

https://github.com/rsim/oracle-enhanced


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -