old_sql 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,45 +3,45 @@ class AddDeviseToDeviseModel < ActiveRecord::Migration
|
|
3
3
|
null = false
|
4
4
|
default = ""
|
5
5
|
|
6
|
-
add_column :
|
7
|
-
add_column :
|
8
|
-
add_column :
|
9
|
-
add_column :
|
10
|
-
add_column :
|
11
|
-
add_column :
|
12
|
-
add_column :
|
13
|
-
add_column :
|
14
|
-
add_column :
|
15
|
-
add_column :
|
16
|
-
add_column :
|
17
|
-
add_column :
|
18
|
-
add_column :
|
19
|
-
add_column :
|
6
|
+
add_column :devise_model, :encrypted_password, :string, :null => null, :default => default, :limit => 128
|
7
|
+
add_column :devise_model, :password_salt, :string
|
8
|
+
add_column :devise_model, :authentication_token, :string
|
9
|
+
add_column :devise_model, :confirmation_token, :string
|
10
|
+
add_column :devise_model, :confirmed_at, :datetime
|
11
|
+
add_column :devise_model, :confirmation_sent_at, :datetime
|
12
|
+
add_column :devise_model, :reset_password_token, :string
|
13
|
+
add_column :devise_model, :remember_token, :string
|
14
|
+
add_column :devise_model, :remember_created_at, :datetime
|
15
|
+
add_column :devise_model, :sign_in_count, :integer, :default => 0
|
16
|
+
add_column :devise_model, :current_sign_in_at, :datetime
|
17
|
+
add_column :devise_model, :last_sign_in_at, :datetime
|
18
|
+
add_column :devise_model, :current_sign_in_ip, :string
|
19
|
+
add_column :devise_model, :last_sign_in_ip, :string
|
20
20
|
|
21
21
|
#:lockable fields contributed by MattSlay
|
22
|
-
add_column :
|
23
|
-
add_column :
|
24
|
-
add_column :
|
22
|
+
add_column :devise_model, :failed_attempts, :integer, :default => 0
|
23
|
+
add_column :devise_model, :unlock_token, :string
|
24
|
+
add_column :devise_model, :locked_at, :datetime
|
25
25
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.down
|
29
|
-
remove_column :
|
30
|
-
remove_column :
|
31
|
-
remove_column :
|
32
|
-
remove_column :
|
33
|
-
remove_column :
|
34
|
-
remove_column :
|
35
|
-
remove_column :
|
36
|
-
remove_column :
|
37
|
-
remove_column :
|
38
|
-
remove_column :
|
39
|
-
remove_column :
|
40
|
-
remove_column :
|
41
|
-
remove_column :
|
42
|
-
remove_column :
|
43
|
-
remove_column :
|
44
|
-
remove_column :
|
45
|
-
remove_column :
|
29
|
+
remove_column :devise_model, :encrypted_password
|
30
|
+
remove_column :devise_model, :password_salt
|
31
|
+
remove_column :devise_model, :authentication_token
|
32
|
+
remove_column :devise_model, :confirmation_token
|
33
|
+
remove_column :devise_model, :confirmed_at
|
34
|
+
remove_column :devise_model, :confirmation_sent_at
|
35
|
+
remove_column :devise_model, :reset_password_token
|
36
|
+
remove_column :devise_model, :remember_token
|
37
|
+
remove_column :devise_model, :remember_created_at
|
38
|
+
remove_column :devise_model, :sign_in_count
|
39
|
+
remove_column :devise_model, :current_sign_in_at
|
40
|
+
remove_column :devise_model, :last_sign_in_at
|
41
|
+
remove_column :devise_model, :current_sign_in_ip
|
42
|
+
remove_column :devise_model, :last_sign_in_ip
|
43
|
+
remove_column :devise_model, :failed_attempts
|
44
|
+
remove_column :devise_model, :unlock_token
|
45
|
+
remove_column :devise_model, :locked_at
|
46
46
|
end
|
47
47
|
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.
|
5
|
+
version: 1.48.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: -542644681893504151
|
202
202
|
segments:
|
203
203
|
- 0
|
204
204
|
version: "0"
|