old_sql 1.51.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ class AddDeviseToDeviseModel < ActiveRecord::Migration
3
3
  null = false
4
4
  default = ""
5
5
 
6
+ add_column :devise_model, :email, :string
6
7
  add_column :devise_model, :encrypted_password, :string, :null => null, :default => default, :limit => 128
7
8
  add_column :devise_model, :password_salt, :string
8
9
  add_column :devise_model, :authentication_token, :string
@@ -26,6 +27,7 @@ class AddDeviseToDeviseModel < ActiveRecord::Migration
26
27
  end
27
28
 
28
29
  def self.down
30
+ remove_column :devise_model, :email
29
31
  remove_column :devise_model, :encrypted_password
30
32
  remove_column :devise_model, :password_salt
31
33
  remove_column :devise_model, :authentication_token
@@ -5,5 +5,5 @@ class DeviseModel < ActiveRecord::Base
5
5
  :recoverable, :rememberable, :trackable, :validatable
6
6
 
7
7
  # Setup accessible (or protected) attributes for your model
8
- attr_accessible :email, :password, :password_confirmation, :remember_me
8
+ #attr_accessible :email, :password, :password_confirmation, :remember_me
9
9
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: old_sql
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.51.0
5
+ version: 1.52.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eddie Gonzales
@@ -198,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
- hash: -1485225297245336603
201
+ hash: 1306640240686453136
202
202
  segments:
203
203
  - 0
204
204
  version: "0"