old_sql 1.52.0 → 1.53.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,7 +3,10 @@ class AddDeviseToDeviseModel < ActiveRecord::Migration
|
|
3
3
|
null = false
|
4
4
|
default = ""
|
5
5
|
|
6
|
-
|
6
|
+
unless column_exists? :email
|
7
|
+
add_column :devise_model, :email, :string
|
8
|
+
add_column :devise_model, :alternative_admin_email, :string
|
9
|
+
end
|
7
10
|
add_column :devise_model, :encrypted_password, :string, :null => null, :default => default, :limit => 128
|
8
11
|
add_column :devise_model, :password_salt, :string
|
9
12
|
add_column :devise_model, :authentication_token, :string
|
@@ -27,7 +30,10 @@ class AddDeviseToDeviseModel < ActiveRecord::Migration
|
|
27
30
|
end
|
28
31
|
|
29
32
|
def self.down
|
30
|
-
|
33
|
+
unless column_exists? :alternative_admin_email
|
34
|
+
remove_column :devise_model, :email, :string
|
35
|
+
remove_column :devise_model, :alternative_admin_email, :string
|
36
|
+
end
|
31
37
|
remove_column :devise_model, :encrypted_password
|
32
38
|
remove_column :devise_model, :password_salt
|
33
39
|
remove_column :devise_model, :authentication_token
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: old_sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.53.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:
|
201
|
+
hash: 143163968815724010
|
202
202
|
segments:
|
203
203
|
- 0
|
204
204
|
version: "0"
|