gregbell/active_admin — Issue #821: Changes for Active Admin to be Oracle-friendly
Author: garysweaver
Created: 2011-12-07 03:45:01+00:00
State: open

Oracle by default only supports 30 character length column names and index names. This is a problem with the migrations included with Active Admin.

Examples of how to specify name in up/down:

add_index :admin_notes, [:resource_type, :resource_id], {:name => 'ix_admin_notes_on_resource'}
remove_index :admin_notes, :name => 'ix_admin_notes_on_resource'

The 3 existing migrations included after installation have these issues.

Understand if you don't want to make these changes, but maybe this info will help someone else. Would fork it but too busy at the moment unfortunately. Thanks!