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.
Files changed (68) hide show
  1. checksums.yaml +5 -5
  2. data/MIT-LICENSE +18 -17
  3. data/lib/admin_invitable/engine.rb +1 -2
  4. data/lib/admin_invitable/version.rb +1 -1
  5. data/spec/dummy/Rakefile +1 -1
  6. data/spec/dummy/app/admin/admin_users.rb +1 -3
  7. data/spec/dummy/app/admin/dashboard.rb +2 -3
  8. data/spec/dummy/app/assets/config/manifest.js +2 -0
  9. data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
  10. data/spec/dummy/app/assets/stylesheets/{active_admin.css.scss → active_admin.scss} +3 -3
  11. data/spec/dummy/app/assets/stylesheets/application.css +5 -5
  12. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  13. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  14. data/spec/dummy/app/controllers/application_controller.rb +1 -1
  15. data/spec/dummy/app/javascript/packs/application.js +15 -0
  16. data/spec/dummy/app/jobs/application_job.rb +7 -0
  17. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  18. data/spec/dummy/app/models/admin_user.rb +2 -2
  19. data/spec/dummy/app/models/application_record.rb +3 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +10 -9
  21. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  22. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  23. data/spec/dummy/bin/rails +3 -3
  24. data/spec/dummy/bin/rake +2 -2
  25. data/spec/dummy/bin/setup +33 -0
  26. data/spec/dummy/config.ru +3 -1
  27. data/spec/dummy/config/application.rb +12 -13
  28. data/spec/dummy/config/boot.rb +3 -3
  29. data/spec/dummy/config/cable.yml +10 -0
  30. data/spec/dummy/config/database.yml +2 -2
  31. data/spec/dummy/config/environment.rb +1 -1
  32. data/spec/dummy/config/environments/development.rb +56 -12
  33. data/spec/dummy/config/environments/production.rb +65 -23
  34. data/spec/dummy/config/environments/test.rb +29 -9
  35. data/spec/dummy/config/initializers/active_admin.rb +106 -4
  36. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  37. data/spec/dummy/config/initializers/assets.rb +6 -2
  38. data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
  39. data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
  40. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -1
  41. data/spec/dummy/config/initializers/devise.rb +94 -32
  42. data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
  43. data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
  44. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
  45. data/spec/dummy/config/locales/devise.en.yml +7 -2
  46. data/spec/dummy/config/locales/devise_invitable.en.yml +9 -1
  47. data/spec/dummy/config/locales/en.yml +11 -1
  48. data/spec/dummy/config/puma.rb +43 -0
  49. data/spec/dummy/config/storage.yml +34 -0
  50. data/spec/dummy/db/migrate/{20150410143721_devise_create_admin_users.rb → 20210618143445_devise_create_admin_users.rb} +9 -13
  51. data/spec/dummy/db/migrate/{20150410143725_create_active_admin_comments.rb → 20210618143451_create_active_admin_comments.rb} +2 -5
  52. data/spec/dummy/db/migrate/{20150410152955_devise_invitable_add_to_admin_users.rb → 20210618143525_devise_invitable_add_to_admin_users.rb} +4 -9
  53. data/spec/dummy/db/schema.rb +34 -42
  54. data/spec/dummy/public/404.html +6 -6
  55. data/spec/dummy/public/422.html +6 -6
  56. data/spec/dummy/public/500.html +6 -6
  57. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  58. data/spec/dummy/public/apple-touch-icon.png +0 -0
  59. data/spec/dummy/spec/factories/admin_users.rb +3 -3
  60. data/spec/dummy/spec/models/admin_user_spec.rb +7 -0
  61. data/spec/rails_helper.rb +6 -4
  62. metadata +116 -61
  63. data/spec/dummy/README.rdoc +0 -28
  64. data/spec/dummy/bin/bundle +0 -3
  65. data/spec/dummy/config/initializers/session_store.rb +0 -3
  66. data/spec/dummy/config/secrets.yml +0 -22
  67. data/spec/dummy/db/test.sqlite3 +0 -0
  68. data/spec/dummy/log/test.log +0 -464
@@ -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>.
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -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"] %>
Binary file
@@ -1,464 +0,0 @@
1
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.2ms) select sqlite_version(*)
3
-  (6.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to DeviseCreateAdminUsers (20150410143721)
6
-  (0.1ms) begin transaction
7
-  (0.4ms) 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
-  (0.3ms) CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")
9
-  (0.1ms) 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
-  (0.2ms) CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
18
- AdminUser Exists (0.1ms) 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
- SQL (0.2ms) INSERT INTO "admin_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["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
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150410143721"]]
22
-  (2.1ms) commit transaction
23
- Migrating to CreateActiveAdminComments (20150410143725)
24
-  (0.1ms) begin transaction
25
-  (0.3ms) CREATE 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) 
26
-  (0.2ms) CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")
27
-  (0.1ms)  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
- 
35
-  (0.2ms) CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
36
-  (0.1ms)  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
- 
44
-  (0.1ms) 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
-  (0.1ms) CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
53
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150410143725"]]
54
-  (1.7ms) commit transaction
55
- Migrating to DeviseInvitableAddToAdminUsers (20150410152955)
56
-  (0.1ms) begin transaction
57
-  (0.3ms) ALTER TABLE "admin_users" ADD "invitation_token" varchar(255)
58
-  (0.2ms) ALTER TABLE "admin_users" ADD "invitation_created_at" datetime
59
-  (0.2ms) ALTER TABLE "admin_users" ADD "invitation_sent_at" datetime
60
-  (0.2ms) ALTER TABLE "admin_users" ADD "invitation_accepted_at" datetime
61
-  (0.3ms) ALTER TABLE "admin_users" ADD "invitation_limit" integer
62
-  (0.2ms) ALTER TABLE "admin_users" ADD "invited_by_id" integer
63
-  (0.2ms) ALTER TABLE "admin_users" ADD "invited_by_type" varchar(255)
64
-  (0.2ms) ALTER TABLE "admin_users" ADD "invitations_count" integer DEFAULT 0
65
-  (0.1ms)  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
- 
73
-  (0.1ms) 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
-  (0.2ms) CREATE INDEX "index_admin_users_on_invitations_count" ON "admin_users" ("invitations_count")
82
-  (0.1ms) 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
-  (0.1ms)  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
- 
98
-  (0.1ms) 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
-  (0.2ms) CREATE UNIQUE INDEX "index_admin_users_on_invitation_token" ON "admin_users" ("invitation_token")
107
-  (0.1ms) 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
-  (0.1ms)  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
- 
123
-  (0.1ms) 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
-  (0.1ms)  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
- 
139
-  (0.1ms) CREATE INDEX "index_admin_users_on_invited_by_id" ON "admin_users" ("invited_by_id")
140
-  (0.3ms) CREATE 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) 
141
-  (0.1ms) 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
-  (0.1ms)  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
- 
157
-  (0.1ms) 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
-  (0.1ms)  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
- 
173
-  (0.1ms) 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
-  (0.1ms) CREATE INDEX "tindex_aadmin_users_on_invited_by_id" ON "aadmin_users" ("invited_by_id")
182
-  (0.1ms) 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
-  (0.2ms) CREATE UNIQUE INDEX "tindex_aadmin_users_on_invitation_token" ON "aadmin_users" ("invitation_token")
191
-  (0.1ms) 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
-  (0.1ms)  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
- 
207
-  (0.1ms) CREATE INDEX "tindex_aadmin_users_on_invitations_count" ON "aadmin_users" ("invitations_count")
208
-  (0.1ms)  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
- 
216
-  (0.1ms) 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
-  (0.1ms)  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
- 
232
-  (0.1ms) CREATE UNIQUE INDEX "tindex_aadmin_users_on_reset_password_token" ON "aadmin_users" ("reset_password_token")
233
-  (0.2ms)  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
- 
241
-  (0.1ms) 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
-  (0.1ms)  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
- 
257
-  (0.1ms) 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
-  (0.2ms) CREATE UNIQUE INDEX "tindex_aadmin_users_on_email" ON "aadmin_users" ("email")
266
-  (0.2ms) SELECT * FROM "admin_users"
267
-  (0.1ms) INSERT 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)
268
-  (0.3ms) DROP TABLE "admin_users"
269
-  (0.2ms) CREATE 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) 
270
-  (0.1ms) 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
-  (0.1ms)  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
- 
286
-  (0.1ms) 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
-  (0.1ms)  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
- 
302
-  (0.1ms) 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
-  (0.2ms) CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")
311
-  (0.1ms) 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
-  (0.2ms) CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
320
-  (0.1ms) 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
-  (0.1ms)  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
- 
336
-  (0.1ms) CREATE INDEX "index_admin_users_on_invitations_count" ON "admin_users" ("invitations_count")
337
-  (0.1ms)  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
- 
345
-  (0.1ms) 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
-  (0.1ms)  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
- 
361
-  (0.2ms) CREATE UNIQUE INDEX "index_admin_users_on_invitation_token" ON "admin_users" ("invitation_token")
362
-  (0.1ms)  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
- 
370
-  (0.1ms) 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
-  (0.1ms)  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
- 
386
-  (0.1ms) 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
-  (0.1ms) CREATE INDEX "index_admin_users_on_invited_by_id" ON "admin_users" ("invited_by_id")
395
-  (0.1ms) SELECT * FROM "aadmin_users"
396
-  (0.1ms) INSERT 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)
397
-  (0.2ms) DROP TABLE "aadmin_users"
398
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150410152955"]]
399
-  (2.0ms) commit transaction
400
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
401
-  (0.2ms) 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
-  (0.1ms)  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
- 
417
-  (0.1ms) 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
-  (0.1ms)  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
- 
433
-  (0.1ms) 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
-  (0.1ms)  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
- 
449
-  (0.1ms) 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
-  (0.1ms)  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
-