Skip to content

Commit

Permalink
Merge pull request #222 from gabceb/kandan-207
Browse files Browse the repository at this point in the history
Fixes MySql support
  • Loading branch information
fusion94 committed Mar 17, 2013
2 parents 7d9f4ca + df305ae commit 829a790
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Expand Up @@ -6,6 +6,9 @@ gem 'rails', '3.2.12'
# Database adapters
gem 'pg'

# Uncomment next line when using MySQL database
#gem 'mysql2'

# Auth gems
gem 'devise'

Expand Down
1 change: 0 additions & 1 deletion db/migrate/20120306154555_devise_create_users.rb
Expand Up @@ -48,7 +48,6 @@ def change
end

add_index :users, :email, :unique => true
add_index :users, :ido_id, :unique => true
# add_index :users, :confirmation_token, :unique => true
# add_index :users, :unlock_token, :unique => true
add_index :users, :authentication_token, :unique => true
Expand Down
2 changes: 0 additions & 2 deletions db/migrate/20130301022941_remove_ido_id_from_users.rb
@@ -1,11 +1,9 @@
class RemoveIdoIdFromUsers < ActiveRecord::Migration
def up
remove_index :users, :ido_id
remove_column :users, :ido_id
end

def down
add_column :users, :ido_id, :text
add_index :users, :ido_id, :unique => true
end
end

0 comments on commit 829a790

Please sign in to comment.