generators/fbdoorman/templates/migrations/update_users.rb in fbdoorman-0.7.1 vs generators/fbdoorman/templates/migrations/update_users.rb in fbdoorman-0.7.2
- old
+ new
@@ -2,9 +2,10 @@
def self.up
<%
existing_columns = ActiveRecord::Base.connection.columns(:users).collect { |each| each.name }
columns = [
[:email, 't.string :email'],
+ [:email2, 't.string :email2'],
[:encrypted_password, 't.string :encrypted_password, :limit => 128'],
[:salt, 't.string :salt, :limit => 128'],
[:confirmation_token, 't.string :confirmation_token, :limit => 128'],
[:remember_token, 't.string :remember_token, :limit => 128'],
[:name, 't.string :name, :limit => 128'],