Displaying 1 result from an estimated 1 matches for "idxu_entities_entity_nam".
Did you mean:
idxu_entities_entity_name
2008 Apr 08
1
Help with primary_key_prefix_type
...=> 40
t.string :entity_legal_name, :null => false,
:limit => 120
t.string :entity_legal_form, :null => false,
:limit => 4
t.timestamps
end
add_index :entities, :entity_name,
:name => :idxU_entities_entity_name,
:unique => true
end
def self.down
remove_index :entities, :name => :idxU_entities_entity_name
drop_table :entities
end
end
When I run these rake tasks:
rake db:drop
rake migrate
Then I see this:
# sqlite3 db/development.sqlite3
SQLite version 3.3.6
Enter &...