source: de.wigbels.ruby/contact/db/migrate/007_add_indizes.rb@ 718846a

Last change on this file since 718846a was 7b7d827, checked in by njw <njw@…>, 11 years ago

opened projects: hothotwrite and contact

  • Property mode set to 100644
File size: 218 bytes
Line 
1class AddIndizes < ActiveRecord::Migration
2 def self.up
3 add_index :contacts, :name
4 add_index :contacts, :id, :unique => true
5 add_index :contactgroups, :id, :unique => true
6 end
7
8 def self.down
9 end
10end
Note: See TracBrowser for help on using the repository browser.