diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20110401192910_add_index_to_users_type.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110401192910_add_index_to_users_type.rb b/db/migrate/20110401192910_add_index_to_users_type.rb new file mode 100644 index 000000000..b9f501120 --- /dev/null +++ b/db/migrate/20110401192910_add_index_to_users_type.rb @@ -0,0 +1,9 @@ +class AddIndexToUsersType < ActiveRecord::Migration + def self.up + add_index :users, :type + end + + def self.down + remove_index :users, :type + end +end |