5b95730edc
Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |
||
---|---|---|
actionmailer | ||
actionpack | ||
activemodel | ||
activerecord | ||
activeresource | ||
activesupport | ||
bin | ||
ci | ||
doc/template | ||
railties | ||
tools | ||
.gitignore | ||
Gemfile | ||
load_paths.rb | ||
RAILS_VERSION | ||
rails.gemspec | ||
Rakefile | ||
release.rb | ||
version.rb |