admin_invitable 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT-LICENSE +18 -17
- data/lib/admin_invitable/engine.rb +1 -2
- data/lib/admin_invitable/version.rb +1 -1
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/admin/admin_users.rb +1 -3
- data/spec/dummy/app/admin/dashboard.rb +2 -3
- data/spec/dummy/app/assets/config/manifest.js +2 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
- data/spec/dummy/app/assets/stylesheets/{active_admin.css.scss → active_admin.scss} +3 -3
- data/spec/dummy/app/assets/stylesheets/application.css +5 -5
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +1 -1
- data/spec/dummy/app/javascript/packs/application.js +15 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/admin_user.rb +2 -2
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +10 -9
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/rails +3 -3
- data/spec/dummy/bin/rake +2 -2
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config.ru +3 -1
- data/spec/dummy/config/application.rb +12 -13
- data/spec/dummy/config/boot.rb +3 -3
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +2 -2
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +56 -12
- data/spec/dummy/config/environments/production.rb +65 -23
- data/spec/dummy/config/environments/test.rb +29 -9
- data/spec/dummy/config/initializers/active_admin.rb +106 -4
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +6 -2
- data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -1
- data/spec/dummy/config/initializers/devise.rb +94 -32
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
- data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/locales/devise.en.yml +7 -2
- data/spec/dummy/config/locales/devise_invitable.en.yml +9 -1
- data/spec/dummy/config/locales/en.yml +11 -1
- data/spec/dummy/config/puma.rb +43 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/migrate/{20150410143721_devise_create_admin_users.rb → 20210618143445_devise_create_admin_users.rb} +9 -13
- data/spec/dummy/db/migrate/{20150410143725_create_active_admin_comments.rb → 20210618143451_create_active_admin_comments.rb} +2 -5
- data/spec/dummy/db/migrate/{20150410152955_devise_invitable_add_to_admin_users.rb → 20210618143525_devise_invitable_add_to_admin_users.rb} +4 -9
- data/spec/dummy/db/schema.rb +34 -42
- data/spec/dummy/public/404.html +6 -6
- data/spec/dummy/public/422.html +6 -6
- data/spec/dummy/public/500.html +6 -6
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/spec/factories/admin_users.rb +3 -3
- data/spec/dummy/spec/models/admin_user_spec.rb +7 -0
- data/spec/rails_helper.rb +6 -4
- metadata +116 -61
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +0 -464
data/spec/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
data/spec/dummy/bin/bundle
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
|
6
|
-
# Make sure the secret is at least 30 characters and all random,
|
7
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `rake secret` to generate a secure secret key.
|
9
|
-
|
10
|
-
# Make sure the secrets in this file are kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
|
13
|
-
development:
|
14
|
-
secret_key_base: 9fbc29716a8e284aa6e68ecbe786ae54a071630c54b34d2afa63df9af88cbac11677fe1a69251884f629b86a403ba44c0556f3f8a3f55f981edd1488bf904adb
|
15
|
-
|
16
|
-
test:
|
17
|
-
secret_key_base: c76e4d22c7cd54405cd0d58216ab3b4322d5d48f4c441dda7e2692e2b1c80211b97106fffeba8dd01344dce36cfc50e96347668e303c877f6252adbfbdfcd071
|
18
|
-
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
|
-
production:
|
22
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
data/spec/dummy/db/test.sqlite3
DELETED
Binary file
|
data/spec/dummy/log/test.log
DELETED
@@ -1,464 +0,0 @@
|
|
1
|
-
[1m[36m (3.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (6.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to DeviseCreateAdminUsers (20150410143721)
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)
|
8
|
-
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
|
9
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
12
|
-
UNION ALL
|
13
|
-
SELECT sql
|
14
|
-
FROM sqlite_temp_master
|
15
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
16
|
-
|
17
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")[0m
|
18
|
-
[1m[35mAdminUser Exists (0.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
|
19
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
20
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "admin_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2017-03-26 21:35:50.237734"], ["email", "admin@example.com"], ["encrypted_password", "$2a$04$OrJwo//qHlowBnP5s4oTmu2zrufx7yo9jHcN2nD/CP7Q8j9e.oMMS"], ["updated_at", "2017-03-26 21:35:50.237734"]]
|
21
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150410143721"]]
|
22
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
23
|
-
Migrating to CreateActiveAdminComments (20150410143725)
|
24
|
-
[1m[35m (0.1ms)[0m begin transaction
|
25
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255), "body" text, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
26
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")
|
27
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28
|
-
FROM sqlite_master
|
29
|
-
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
30
|
-
UNION ALL
|
31
|
-
SELECT sql
|
32
|
-
FROM sqlite_temp_master
|
33
|
-
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
34
|
-
[0m
|
35
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
|
36
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37
|
-
FROM sqlite_master
|
38
|
-
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
39
|
-
UNION ALL
|
40
|
-
SELECT sql
|
41
|
-
FROM sqlite_temp_master
|
42
|
-
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
43
|
-
[0m
|
44
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
45
|
-
FROM sqlite_master
|
46
|
-
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
47
|
-
UNION ALL
|
48
|
-
SELECT sql
|
49
|
-
FROM sqlite_temp_master
|
50
|
-
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
51
|
-
|
52
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")[0m
|
53
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150410143725"]]
|
54
|
-
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
55
|
-
Migrating to DeviseInvitableAddToAdminUsers (20150410152955)
|
56
|
-
[1m[35m (0.1ms)[0m begin transaction
|
57
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "admin_users" ADD "invitation_token" varchar(255)[0m
|
58
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "admin_users" ADD "invitation_created_at" datetime
|
59
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "admin_users" ADD "invitation_sent_at" datetime[0m
|
60
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "admin_users" ADD "invitation_accepted_at" datetime
|
61
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "admin_users" ADD "invitation_limit" integer[0m
|
62
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "admin_users" ADD "invited_by_id" integer
|
63
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "admin_users" ADD "invited_by_type" varchar(255)[0m
|
64
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "admin_users" ADD "invitations_count" integer DEFAULT 0
|
65
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66
|
-
FROM sqlite_master
|
67
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
68
|
-
UNION ALL
|
69
|
-
SELECT sql
|
70
|
-
FROM sqlite_temp_master
|
71
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
72
|
-
[0m
|
73
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
74
|
-
FROM sqlite_master
|
75
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
76
|
-
UNION ALL
|
77
|
-
SELECT sql
|
78
|
-
FROM sqlite_temp_master
|
79
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
80
|
-
|
81
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_admin_users_on_invitations_count" ON "admin_users" ("invitations_count")[0m
|
82
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
83
|
-
FROM sqlite_master
|
84
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
85
|
-
UNION ALL
|
86
|
-
SELECT sql
|
87
|
-
FROM sqlite_temp_master
|
88
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
89
|
-
|
90
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
91
|
-
FROM sqlite_master
|
92
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
93
|
-
UNION ALL
|
94
|
-
SELECT sql
|
95
|
-
FROM sqlite_temp_master
|
96
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
97
|
-
[0m
|
98
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
99
|
-
FROM sqlite_master
|
100
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
101
|
-
UNION ALL
|
102
|
-
SELECT sql
|
103
|
-
FROM sqlite_temp_master
|
104
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
105
|
-
|
106
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_invitation_token" ON "admin_users" ("invitation_token")[0m
|
107
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
108
|
-
FROM sqlite_master
|
109
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
110
|
-
UNION ALL
|
111
|
-
SELECT sql
|
112
|
-
FROM sqlite_temp_master
|
113
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
114
|
-
|
115
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
116
|
-
FROM sqlite_master
|
117
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
118
|
-
UNION ALL
|
119
|
-
SELECT sql
|
120
|
-
FROM sqlite_temp_master
|
121
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
122
|
-
[0m
|
123
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
124
|
-
FROM sqlite_master
|
125
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
126
|
-
UNION ALL
|
127
|
-
SELECT sql
|
128
|
-
FROM sqlite_temp_master
|
129
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
130
|
-
|
131
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
132
|
-
FROM sqlite_master
|
133
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
134
|
-
UNION ALL
|
135
|
-
SELECT sql
|
136
|
-
FROM sqlite_temp_master
|
137
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
138
|
-
[0m
|
139
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_admin_users_on_invited_by_id" ON "admin_users" ("invited_by_id")
|
140
|
-
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "aadmin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "invitation_token" varchar(255), "invitation_created_at" datetime, "invitation_sent_at" datetime, "invitation_accepted_at" datetime, "invitation_limit" integer, "invited_by_id" integer, "invited_by_type" varchar(255), "invitations_count" integer DEFAULT 0) [0m
|
141
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
142
|
-
FROM sqlite_master
|
143
|
-
WHERE name='index_admin_users_on_invited_by_id' AND type='index'
|
144
|
-
UNION ALL
|
145
|
-
SELECT sql
|
146
|
-
FROM sqlite_temp_master
|
147
|
-
WHERE name='index_admin_users_on_invited_by_id' AND type='index'
|
148
|
-
|
149
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
150
|
-
FROM sqlite_master
|
151
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
152
|
-
UNION ALL
|
153
|
-
SELECT sql
|
154
|
-
FROM sqlite_temp_master
|
155
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
156
|
-
[0m
|
157
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
158
|
-
FROM sqlite_master
|
159
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
160
|
-
UNION ALL
|
161
|
-
SELECT sql
|
162
|
-
FROM sqlite_temp_master
|
163
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
164
|
-
|
165
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
166
|
-
FROM sqlite_master
|
167
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
168
|
-
UNION ALL
|
169
|
-
SELECT sql
|
170
|
-
FROM sqlite_temp_master
|
171
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
172
|
-
[0m
|
173
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
174
|
-
FROM sqlite_master
|
175
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
176
|
-
UNION ALL
|
177
|
-
SELECT sql
|
178
|
-
FROM sqlite_temp_master
|
179
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
180
|
-
|
181
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_aadmin_users_on_invited_by_id" ON "aadmin_users" ("invited_by_id")[0m
|
182
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
183
|
-
FROM sqlite_master
|
184
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
185
|
-
UNION ALL
|
186
|
-
SELECT sql
|
187
|
-
FROM sqlite_temp_master
|
188
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
189
|
-
|
190
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "tindex_aadmin_users_on_invitation_token" ON "aadmin_users" ("invitation_token")[0m
|
191
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
192
|
-
FROM sqlite_master
|
193
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
194
|
-
UNION ALL
|
195
|
-
SELECT sql
|
196
|
-
FROM sqlite_temp_master
|
197
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
198
|
-
|
199
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
200
|
-
FROM sqlite_master
|
201
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
202
|
-
UNION ALL
|
203
|
-
SELECT sql
|
204
|
-
FROM sqlite_temp_master
|
205
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
206
|
-
[0m
|
207
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_aadmin_users_on_invitations_count" ON "aadmin_users" ("invitations_count")
|
208
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
209
|
-
FROM sqlite_master
|
210
|
-
WHERE name='tindex_aadmin_users_on_invitations_count' AND type='index'
|
211
|
-
UNION ALL
|
212
|
-
SELECT sql
|
213
|
-
FROM sqlite_temp_master
|
214
|
-
WHERE name='tindex_aadmin_users_on_invitations_count' AND type='index'
|
215
|
-
[0m
|
216
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
217
|
-
FROM sqlite_master
|
218
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
219
|
-
UNION ALL
|
220
|
-
SELECT sql
|
221
|
-
FROM sqlite_temp_master
|
222
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
223
|
-
|
224
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
225
|
-
FROM sqlite_master
|
226
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
227
|
-
UNION ALL
|
228
|
-
SELECT sql
|
229
|
-
FROM sqlite_temp_master
|
230
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
231
|
-
[0m
|
232
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "tindex_aadmin_users_on_reset_password_token" ON "aadmin_users" ("reset_password_token")
|
233
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
234
|
-
FROM sqlite_master
|
235
|
-
WHERE name='tindex_aadmin_users_on_reset_password_token' AND type='index'
|
236
|
-
UNION ALL
|
237
|
-
SELECT sql
|
238
|
-
FROM sqlite_temp_master
|
239
|
-
WHERE name='tindex_aadmin_users_on_reset_password_token' AND type='index'
|
240
|
-
[0m
|
241
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
242
|
-
FROM sqlite_master
|
243
|
-
WHERE name='tindex_aadmin_users_on_invitations_count' AND type='index'
|
244
|
-
UNION ALL
|
245
|
-
SELECT sql
|
246
|
-
FROM sqlite_temp_master
|
247
|
-
WHERE name='tindex_aadmin_users_on_invitations_count' AND type='index'
|
248
|
-
|
249
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
250
|
-
FROM sqlite_master
|
251
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
252
|
-
UNION ALL
|
253
|
-
SELECT sql
|
254
|
-
FROM sqlite_temp_master
|
255
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
256
|
-
[0m
|
257
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
258
|
-
FROM sqlite_master
|
259
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
260
|
-
UNION ALL
|
261
|
-
SELECT sql
|
262
|
-
FROM sqlite_temp_master
|
263
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
264
|
-
|
265
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "tindex_aadmin_users_on_email" ON "aadmin_users" ("email")[0m
|
266
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "admin_users"
|
267
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "aadmin_users" ("id","email","encrypted_password","reset_password_token","reset_password_sent_at","remember_created_at","sign_in_count","current_sign_in_at","last_sign_in_at","current_sign_in_ip","last_sign_in_ip","created_at","updated_at","invitation_token","invitation_created_at","invitation_sent_at","invitation_accepted_at","invitation_limit","invited_by_id","invited_by_type","invitations_count") VALUES (1, 'admin@example.com', '$2a$04$OrJwo//qHlowBnP5s4oTmu2zrufx7yo9jHcN2nD/CP7Q8j9e.oMMS', NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, '2017-03-26 21:35:50.237734', '2017-03-26 21:35:50.237734', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0)[0m
|
268
|
-
[1m[35m (0.3ms)[0m DROP TABLE "admin_users"
|
269
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '', "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "invitation_token" varchar(255), "invitation_created_at" datetime, "invitation_sent_at" datetime, "invitation_accepted_at" datetime, "invitation_limit" integer, "invited_by_id" integer, "invited_by_type" varchar(255), "invitations_count" integer DEFAULT 0) [0m
|
270
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
271
|
-
FROM sqlite_master
|
272
|
-
WHERE name='tindex_aadmin_users_on_email' AND type='index'
|
273
|
-
UNION ALL
|
274
|
-
SELECT sql
|
275
|
-
FROM sqlite_temp_master
|
276
|
-
WHERE name='tindex_aadmin_users_on_email' AND type='index'
|
277
|
-
|
278
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
279
|
-
FROM sqlite_master
|
280
|
-
WHERE name='tindex_aadmin_users_on_reset_password_token' AND type='index'
|
281
|
-
UNION ALL
|
282
|
-
SELECT sql
|
283
|
-
FROM sqlite_temp_master
|
284
|
-
WHERE name='tindex_aadmin_users_on_reset_password_token' AND type='index'
|
285
|
-
[0m
|
286
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
287
|
-
FROM sqlite_master
|
288
|
-
WHERE name='tindex_aadmin_users_on_invitations_count' AND type='index'
|
289
|
-
UNION ALL
|
290
|
-
SELECT sql
|
291
|
-
FROM sqlite_temp_master
|
292
|
-
WHERE name='tindex_aadmin_users_on_invitations_count' AND type='index'
|
293
|
-
|
294
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
295
|
-
FROM sqlite_master
|
296
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
297
|
-
UNION ALL
|
298
|
-
SELECT sql
|
299
|
-
FROM sqlite_temp_master
|
300
|
-
WHERE name='tindex_aadmin_users_on_invitation_token' AND type='index'
|
301
|
-
[0m
|
302
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
303
|
-
FROM sqlite_master
|
304
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
305
|
-
UNION ALL
|
306
|
-
SELECT sql
|
307
|
-
FROM sqlite_temp_master
|
308
|
-
WHERE name='tindex_aadmin_users_on_invited_by_id' AND type='index'
|
309
|
-
|
310
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
|
311
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
312
|
-
FROM sqlite_master
|
313
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
314
|
-
UNION ALL
|
315
|
-
SELECT sql
|
316
|
-
FROM sqlite_temp_master
|
317
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
318
|
-
|
319
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")[0m
|
320
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
321
|
-
FROM sqlite_master
|
322
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
323
|
-
UNION ALL
|
324
|
-
SELECT sql
|
325
|
-
FROM sqlite_temp_master
|
326
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
327
|
-
|
328
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
329
|
-
FROM sqlite_master
|
330
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
331
|
-
UNION ALL
|
332
|
-
SELECT sql
|
333
|
-
FROM sqlite_temp_master
|
334
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
335
|
-
[0m
|
336
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_admin_users_on_invitations_count" ON "admin_users" ("invitations_count")
|
337
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
338
|
-
FROM sqlite_master
|
339
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
340
|
-
UNION ALL
|
341
|
-
SELECT sql
|
342
|
-
FROM sqlite_temp_master
|
343
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
344
|
-
[0m
|
345
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
346
|
-
FROM sqlite_master
|
347
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
348
|
-
UNION ALL
|
349
|
-
SELECT sql
|
350
|
-
FROM sqlite_temp_master
|
351
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
352
|
-
|
353
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
354
|
-
FROM sqlite_master
|
355
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
356
|
-
UNION ALL
|
357
|
-
SELECT sql
|
358
|
-
FROM sqlite_temp_master
|
359
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
360
|
-
[0m
|
361
|
-
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_invitation_token" ON "admin_users" ("invitation_token")
|
362
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
363
|
-
FROM sqlite_master
|
364
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
365
|
-
UNION ALL
|
366
|
-
SELECT sql
|
367
|
-
FROM sqlite_temp_master
|
368
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
369
|
-
[0m
|
370
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
371
|
-
FROM sqlite_master
|
372
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
373
|
-
UNION ALL
|
374
|
-
SELECT sql
|
375
|
-
FROM sqlite_temp_master
|
376
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
377
|
-
|
378
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
379
|
-
FROM sqlite_master
|
380
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
381
|
-
UNION ALL
|
382
|
-
SELECT sql
|
383
|
-
FROM sqlite_temp_master
|
384
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
385
|
-
[0m
|
386
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
387
|
-
FROM sqlite_master
|
388
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
389
|
-
UNION ALL
|
390
|
-
SELECT sql
|
391
|
-
FROM sqlite_temp_master
|
392
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
393
|
-
|
394
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_admin_users_on_invited_by_id" ON "admin_users" ("invited_by_id")[0m
|
395
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "aadmin_users"
|
396
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "admin_users" ("id","email","encrypted_password","reset_password_token","reset_password_sent_at","remember_created_at","sign_in_count","current_sign_in_at","last_sign_in_at","current_sign_in_ip","last_sign_in_ip","created_at","updated_at","invitation_token","invitation_created_at","invitation_sent_at","invitation_accepted_at","invitation_limit","invited_by_id","invited_by_type","invitations_count") VALUES (1, 'admin@example.com', '$2a$04$OrJwo//qHlowBnP5s4oTmu2zrufx7yo9jHcN2nD/CP7Q8j9e.oMMS', NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, '2017-03-26 21:35:50.237734', '2017-03-26 21:35:50.237734', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0)[0m
|
397
|
-
[1m[35m (0.2ms)[0m DROP TABLE "aadmin_users"
|
398
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150410152955"]]
|
399
|
-
[1m[35m (2.0ms)[0m commit transaction
|
400
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
401
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
402
|
-
FROM sqlite_master
|
403
|
-
WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'
|
404
|
-
UNION ALL
|
405
|
-
SELECT sql
|
406
|
-
FROM sqlite_temp_master
|
407
|
-
WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'
|
408
|
-
|
409
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
410
|
-
FROM sqlite_master
|
411
|
-
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
412
|
-
UNION ALL
|
413
|
-
SELECT sql
|
414
|
-
FROM sqlite_temp_master
|
415
|
-
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
416
|
-
[0m
|
417
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
418
|
-
FROM sqlite_master
|
419
|
-
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
420
|
-
UNION ALL
|
421
|
-
SELECT sql
|
422
|
-
FROM sqlite_temp_master
|
423
|
-
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
424
|
-
|
425
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
426
|
-
FROM sqlite_master
|
427
|
-
WHERE name='index_admin_users_on_invited_by_id' AND type='index'
|
428
|
-
UNION ALL
|
429
|
-
SELECT sql
|
430
|
-
FROM sqlite_temp_master
|
431
|
-
WHERE name='index_admin_users_on_invited_by_id' AND type='index'
|
432
|
-
[0m
|
433
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
434
|
-
FROM sqlite_master
|
435
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
436
|
-
UNION ALL
|
437
|
-
SELECT sql
|
438
|
-
FROM sqlite_temp_master
|
439
|
-
WHERE name='index_admin_users_on_invitation_token' AND type='index'
|
440
|
-
|
441
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
442
|
-
FROM sqlite_master
|
443
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
444
|
-
UNION ALL
|
445
|
-
SELECT sql
|
446
|
-
FROM sqlite_temp_master
|
447
|
-
WHERE name='index_admin_users_on_invitations_count' AND type='index'
|
448
|
-
[0m
|
449
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
450
|
-
FROM sqlite_master
|
451
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
452
|
-
UNION ALL
|
453
|
-
SELECT sql
|
454
|
-
FROM sqlite_temp_master
|
455
|
-
WHERE name='index_admin_users_on_reset_password_token' AND type='index'
|
456
|
-
|
457
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
458
|
-
FROM sqlite_master
|
459
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
460
|
-
UNION ALL
|
461
|
-
SELECT sql
|
462
|
-
FROM sqlite_temp_master
|
463
|
-
WHERE name='index_admin_users_on_email' AND type='index'
|
464
|
-
[0m
|