From e131faeb6589b4896781a62a2d31295df5d7af74 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Thu, 26 Aug 2010 11:44:30 -0700 Subject: [PATCH] annotate-models explicit version --- Gemfile | 2 +- db/migrate/20100822012431_add_email_uniqueness_index.rb | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 db/migrate/20100822012431_add_email_uniqueness_index.rb diff --git a/Gemfile b/Gemfile index 9761477..1f38e65 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3' group :development do gem 'rspec-rails', '2.0.0.beta.18' - gem 'annotate-models' + gem 'annotate-models', '1.0.4' end group :test do diff --git a/db/migrate/20100822012431_add_email_uniqueness_index.rb b/db/migrate/20100822012431_add_email_uniqueness_index.rb deleted file mode 100644 index 95c5122..0000000 --- a/db/migrate/20100822012431_add_email_uniqueness_index.rb +++ /dev/null @@ -1,9 +0,0 @@ -class AddEmailUniquenessIndex < ActiveRecord::Migration - def self.up - add_index :users, :email, :unique => true - end - - def self.down - remove_index :users, :email - end -end