devise-ios-rails 1.0.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.
- checksums.yaml +7 -0
- data/README.md +114 -0
- data/Rakefile +3 -0
- data/app/controllers/devise_ios_rails/passwords_controller.rb +29 -0
- data/app/controllers/devise_ios_rails/registrations_controller.rb +19 -0
- data/app/serializers/errors_serializer.rb +16 -0
- data/app/services/devise_ios_rails/change_password_service.rb +26 -0
- data/lib/devise-ios-rails.rb +54 -0
- data/lib/devise-ios-rails/engine.rb +5 -0
- data/lib/devise-ios-rails/rails/routes.rb +19 -0
- data/lib/devise-ios-rails/version.rb +3 -0
- data/lib/tasks/devise-ios-rails_tasks.rake +4 -0
- data/spec/devise-ios-rails_test.rb +7 -0
- data/spec/dummy/Gemfile +75 -0
- data/spec/dummy/Gemfile.lock +537 -0
- data/spec/dummy/README.md +225 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js.coffee +1 -0
- data/spec/dummy/app/assets/javascripts/application.js.coffee +0 -0
- data/spec/dummy/app/assets/javascripts/secret_spaces.coffee +3 -0
- data/spec/dummy/app/assets/stylesheets/active_admin.css.scss +17 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +0 -0
- data/spec/dummy/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/spec/dummy/app/assets/stylesheets/secret_spaces.css.scss +3 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/secret_spaces_controller.rb +49 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/secret_spaces_helper.rb +2 -0
- data/spec/dummy/app/models/secret_space.rb +3 -0
- data/spec/dummy/app/models/user.rb +5 -0
- data/spec/dummy/app/serializers/secret_space_serializer.rb +3 -0
- data/spec/dummy/app/serializers/user_serializer.rb +8 -0
- data/spec/dummy/app/serializers/v1/base_serializer.rb +5 -0
- data/spec/dummy/app/serializers/v1/user_serializer.rb +4 -0
- data/spec/dummy/app/views/secret_spaces/_form.html.haml +13 -0
- data/spec/dummy/app/views/secret_spaces/edit.html.haml +7 -0
- data/spec/dummy/app/views/secret_spaces/index.html.haml +19 -0
- data/spec/dummy/app/views/secret_spaces/new.html.haml +5 -0
- data/spec/dummy/app/views/secret_spaces/show.html.haml +9 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/bundler +16 -0
- data/spec/dummy/bin/rails +8 -0
- data/spec/dummy/bin/rake +8 -0
- data/spec/dummy/bin/rspec +20 -0
- data/spec/dummy/bin/spring +18 -0
- data/spec/dummy/config.ru +12 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +8 -0
- data/spec/dummy/config/database.yml +20 -0
- data/spec/dummy/config/deploy.rb +48 -0
- data/spec/dummy/config/deploy/production.rb +5 -0
- data/spec/dummy/config/deploy/staging.rb +4 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +19 -0
- data/spec/dummy/config/environments/heroku.rb +26 -0
- data/spec/dummy/config/environments/production.rb +26 -0
- data/spec/dummy/config/environments/staging.rb +27 -0
- data/spec/dummy/config/environments/test.rb +14 -0
- data/spec/dummy/config/initializers/active_model_serializer.rb +5 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/devise.rb +47 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/simple_token_authentication.rb +25 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/devise.en.yml +60 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +10 -0
- data/spec/dummy/config/secrets.yml +17 -0
- data/spec/dummy/db/migrate/20141127081722_devise_create_users.rb +19 -0
- data/spec/dummy/db/migrate/20141127114158_add_authentication_token_to_users.rb +6 -0
- data/spec/dummy/db/migrate/20141201085308_add_unique_index_to_authentication_token_in_users.rb +6 -0
- data/spec/dummy/db/migrate/20141201111915_remove_username_from_users.rb +5 -0
- data/spec/dummy/db/migrate/20141208080520_create_secret_spaces.rb +9 -0
- data/spec/dummy/db/migrate/20141215153026_create_active_admin_comments.rb +19 -0
- data/spec/dummy/db/saaskit_development.sqlite3 +0 -0
- data/spec/dummy/db/saaskit_test.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +51 -0
- data/spec/dummy/db/seeds.rb +1 -0
- data/spec/dummy/log/development.log +610 -0
- data/spec/dummy/log/test.log +10113 -0
- data/spec/dummy/spec/api/v1/authorized_users_spec.rb +141 -0
- data/spec/dummy/spec/api/v1/login_spec.rb +82 -0
- data/spec/dummy/spec/api/v1/request_password_reset_spec.rb +39 -0
- data/spec/dummy/spec/api/v1/unauthorized_users_spec.rb +69 -0
- data/spec/dummy/spec/factories/authentications.rb +48 -0
- data/spec/dummy/spec/factories/secret_spaces.rb +6 -0
- data/spec/dummy/spec/factories/users.rb +13 -0
- data/spec/dummy/spec/factories_spec.rb +21 -0
- data/spec/dummy/spec/rails_helper.rb +16 -0
- data/spec/dummy/spec/serializers/v1/user_serializer_spec.rb +12 -0
- data/spec/dummy/spec/services/devise_ios_rails/change_password_service_spec.rb +47 -0
- data/spec/dummy/spec/spec_helper.rb +24 -0
- data/spec/dummy/spec/support/devise.rb +3 -0
- data/spec/dummy/spec/support/factory_girl.rb +7 -0
- data/spec/dummy/spec/support/helpers/json.rb +3 -0
- data/spec/dummy/spec/support/shared_contexts/authenticated.rb +3 -0
- data/spec/dummy/spec/support/shared_contexts/json_format.rb +5 -0
- data/spec/dummy/spec/support/shared_examples/authorized.rb +18 -0
- data/spec/dummy/spec/support/shared_examples/requests.rb +65 -0
- data/spec/rails_helper.rb +52 -0
- data/spec/serializers/errors_serializer_spec.rb +11 -0
- data/spec/spec_helper.rb +85 -0
- metadata +336 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
|
4
|
+
# are locale specific, and you may define rules for as many different
|
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
|
9
|
+
# inflect.irregular 'person', 'people'
|
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
|
11
|
+
# end
|
|
12
|
+
|
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|
15
|
+
# inflect.acronym 'RESTful'
|
|
16
|
+
# end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
SimpleTokenAuthentication.configure do |config|
|
|
2
|
+
|
|
3
|
+
config.sign_in_token = false
|
|
4
|
+
|
|
5
|
+
# Configure the name of the HTTP headers watched for authentication.
|
|
6
|
+
#
|
|
7
|
+
# Default header names for a given token authenticatable entity follow the pattern:
|
|
8
|
+
# { entity: { authentication_token: 'X-Entity-Token', email: 'X-Entity-Email'} }
|
|
9
|
+
#
|
|
10
|
+
# When several token authenticatable models are defined, custom header names
|
|
11
|
+
# can be specified for none, any, or all of them.
|
|
12
|
+
#
|
|
13
|
+
# Examples
|
|
14
|
+
#
|
|
15
|
+
# Given User and SuperAdmin are token authenticatable,
|
|
16
|
+
# When the following configuration is used:
|
|
17
|
+
# `config.header_names = { super_admin: { authentication_token: 'X-Admin-Auth-Token' } }`
|
|
18
|
+
# Then the token authentification handler for User watches the following headers:
|
|
19
|
+
# `X-User-Token, X-User-Email`
|
|
20
|
+
# And the token authentification handler for SuperAdmin watches the following headers:
|
|
21
|
+
# `X-Admin-Auth-Token, X-SuperAdmin-Email`
|
|
22
|
+
#
|
|
23
|
+
# config.header_names = { user: { authentication_token: 'X-User-Token', email: 'X-User-Email' } }
|
|
24
|
+
|
|
25
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
|
4
|
+
# is enabled by default.
|
|
5
|
+
|
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
|
13
|
+
# self.include_root_in_json = true
|
|
14
|
+
# end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
|
2
|
+
|
|
3
|
+
en:
|
|
4
|
+
devise:
|
|
5
|
+
confirmations:
|
|
6
|
+
confirmed: "Your email address has been successfully confirmed."
|
|
7
|
+
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
|
|
8
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
|
|
9
|
+
failure:
|
|
10
|
+
already_authenticated: "You are already signed in."
|
|
11
|
+
inactive: "Your account is not activated yet."
|
|
12
|
+
invalid: "Invalid %{authentication_keys} or password."
|
|
13
|
+
locked: "Your account is locked."
|
|
14
|
+
last_attempt: "You have one more attempt before your account is locked."
|
|
15
|
+
not_found_in_database: "Invalid %{authentication_keys} or password."
|
|
16
|
+
timeout: "Your session expired. Please sign in again to continue."
|
|
17
|
+
unauthenticated: "You need to sign in or sign up before continuing."
|
|
18
|
+
unconfirmed: "You have to confirm your email address before continuing."
|
|
19
|
+
mailer:
|
|
20
|
+
confirmation_instructions:
|
|
21
|
+
subject: "Confirmation instructions"
|
|
22
|
+
reset_password_instructions:
|
|
23
|
+
subject: "Reset password instructions"
|
|
24
|
+
unlock_instructions:
|
|
25
|
+
subject: "Unlock instructions"
|
|
26
|
+
omniauth_callbacks:
|
|
27
|
+
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
|
28
|
+
success: "Successfully authenticated from %{kind} account."
|
|
29
|
+
passwords:
|
|
30
|
+
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
|
31
|
+
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
|
32
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
|
33
|
+
updated: "Your password has been changed successfully. You are now signed in."
|
|
34
|
+
updated_not_active: "Your password has been changed successfully."
|
|
35
|
+
registrations:
|
|
36
|
+
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
|
37
|
+
signed_up: "Welcome! You have signed up successfully."
|
|
38
|
+
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
|
39
|
+
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
|
40
|
+
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
|
|
41
|
+
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address."
|
|
42
|
+
updated: "Your account has been updated successfully."
|
|
43
|
+
sessions:
|
|
44
|
+
signed_in: "Signed in successfully."
|
|
45
|
+
signed_out: "Signed out successfully."
|
|
46
|
+
already_signed_out: "Signed out successfully."
|
|
47
|
+
unlocks:
|
|
48
|
+
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
|
49
|
+
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
|
50
|
+
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
|
51
|
+
errors:
|
|
52
|
+
messages:
|
|
53
|
+
already_confirmed: "was already confirmed, please try signing in"
|
|
54
|
+
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
|
55
|
+
expired: "has expired, please request a new one"
|
|
56
|
+
not_found: "not found"
|
|
57
|
+
not_locked: "was not locked"
|
|
58
|
+
not_saved:
|
|
59
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
|
60
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
|
3
|
+
# than English, add the necessary files in this directory.
|
|
4
|
+
#
|
|
5
|
+
# To use the locales, use `I18n.t`:
|
|
6
|
+
#
|
|
7
|
+
# I18n.t 'hello'
|
|
8
|
+
#
|
|
9
|
+
# In views, this is aliased to just `t`:
|
|
10
|
+
#
|
|
11
|
+
# <%= t('hello') %>
|
|
12
|
+
#
|
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
|
14
|
+
#
|
|
15
|
+
# I18n.locale = :es
|
|
16
|
+
#
|
|
17
|
+
# This would use the information in config/locales/es.yml.
|
|
18
|
+
#
|
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
|
21
|
+
|
|
22
|
+
en:
|
|
23
|
+
hello: "Hello world"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
class DeviseCreateUsers < ActiveRecord::Migration
|
|
2
|
+
def change
|
|
3
|
+
create_table(:users) do |t|
|
|
4
|
+
t.string :username, null: false, default: ""
|
|
5
|
+
t.string :email, null: false, default: ""
|
|
6
|
+
t.string :encrypted_password, null: false, default: ""
|
|
7
|
+
|
|
8
|
+
t.string :reset_password_token
|
|
9
|
+
t.datetime :reset_password_sent_at
|
|
10
|
+
|
|
11
|
+
t.datetime :remember_created_at
|
|
12
|
+
|
|
13
|
+
t.timestamps
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
add_index :users, :username, unique: true
|
|
17
|
+
add_index :users, :reset_password_token, unique: true
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
class CreateActiveAdminComments < ActiveRecord::Migration
|
|
2
|
+
def self.up
|
|
3
|
+
create_table :active_admin_comments do |t|
|
|
4
|
+
t.string :namespace
|
|
5
|
+
t.text :body
|
|
6
|
+
t.string :resource_id, null: false
|
|
7
|
+
t.string :resource_type, null: false
|
|
8
|
+
t.references :author, polymorphic: true
|
|
9
|
+
t.timestamps
|
|
10
|
+
end
|
|
11
|
+
add_index :active_admin_comments, [:namespace]
|
|
12
|
+
add_index :active_admin_comments, [:author_type, :author_id]
|
|
13
|
+
add_index :active_admin_comments, [:resource_type, :resource_id]
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def self.down
|
|
17
|
+
drop_table :active_admin_comments
|
|
18
|
+
end
|
|
19
|
+
end
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# encoding: UTF-8
|
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
|
5
|
+
#
|
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
|
7
|
+
# database schema. If you need to create the application database on another
|
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
|
+
#
|
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
|
13
|
+
|
|
14
|
+
ActiveRecord::Schema.define(version: 20141215153026) do
|
|
15
|
+
|
|
16
|
+
create_table "active_admin_comments", force: true do |t|
|
|
17
|
+
t.string "namespace"
|
|
18
|
+
t.text "body"
|
|
19
|
+
t.string "resource_id", null: false
|
|
20
|
+
t.string "resource_type", null: false
|
|
21
|
+
t.integer "author_id"
|
|
22
|
+
t.string "author_type"
|
|
23
|
+
t.datetime "created_at"
|
|
24
|
+
t.datetime "updated_at"
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
add_index "active_admin_comments", ["author_type", "author_id"], name: "index_active_admin_comments_on_author_type_and_author_id"
|
|
28
|
+
add_index "active_admin_comments", ["namespace"], name: "index_active_admin_comments_on_namespace"
|
|
29
|
+
add_index "active_admin_comments", ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource_type_and_resource_id"
|
|
30
|
+
|
|
31
|
+
create_table "secret_spaces", force: true do |t|
|
|
32
|
+
t.string "text"
|
|
33
|
+
t.datetime "created_at", null: false
|
|
34
|
+
t.datetime "updated_at", null: false
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
create_table "users", force: true do |t|
|
|
38
|
+
t.string "email", default: "", null: false
|
|
39
|
+
t.string "encrypted_password", default: "", null: false
|
|
40
|
+
t.string "reset_password_token"
|
|
41
|
+
t.datetime "reset_password_sent_at"
|
|
42
|
+
t.datetime "remember_created_at"
|
|
43
|
+
t.datetime "created_at"
|
|
44
|
+
t.datetime "updated_at"
|
|
45
|
+
t.string "authentication_token"
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
add_index "users", ["authentication_token"], name: "index_users_on_authentication_token", unique: true
|
|
49
|
+
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
|
50
|
+
|
|
51
|
+
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
User.first_or_create(password: 'alcatraz', email: 'ios@example.com')
|
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
3
|
+
[1m[36m (0.8ms)[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 DeviseCreateUsers (20141127081722)
|
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
7
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' 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, "created_at" datetime, "updated_at" datetime)
|
|
8
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")[0m
|
|
9
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
10
|
+
FROM sqlite_master
|
|
11
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
12
|
+
UNION ALL
|
|
13
|
+
SELECT sql
|
|
14
|
+
FROM sqlite_temp_master
|
|
15
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
16
|
+
|
|
17
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
18
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141127081722"]]
|
|
19
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
|
20
|
+
Migrating to AddAuthenticationTokenToUsers (20141127114158)
|
|
21
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
22
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "authentication_token" varchar(255)[0m
|
|
23
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
24
|
+
FROM sqlite_master
|
|
25
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
26
|
+
UNION ALL
|
|
27
|
+
SELECT sql
|
|
28
|
+
FROM sqlite_temp_master
|
|
29
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
30
|
+
|
|
31
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
32
|
+
FROM sqlite_master
|
|
33
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
34
|
+
UNION ALL
|
|
35
|
+
SELECT sql
|
|
36
|
+
FROM sqlite_temp_master
|
|
37
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
38
|
+
[0m
|
|
39
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")
|
|
40
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141127114158"]]
|
|
41
|
+
[1m[35m (0.8ms)[0m commit transaction
|
|
42
|
+
Migrating to AddUniqueIndexToAuthenticationTokenInUsers (20141201085308)
|
|
43
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
44
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
45
|
+
FROM sqlite_master
|
|
46
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
47
|
+
UNION ALL
|
|
48
|
+
SELECT sql
|
|
49
|
+
FROM sqlite_temp_master
|
|
50
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
51
|
+
|
|
52
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
53
|
+
FROM sqlite_master
|
|
54
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
55
|
+
UNION ALL
|
|
56
|
+
SELECT sql
|
|
57
|
+
FROM sqlite_temp_master
|
|
58
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
59
|
+
[0m
|
|
60
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
|
61
|
+
FROM sqlite_master
|
|
62
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
63
|
+
UNION ALL
|
|
64
|
+
SELECT sql
|
|
65
|
+
FROM sqlite_temp_master
|
|
66
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
67
|
+
|
|
68
|
+
[1m[36m (0.3ms)[0m [1mDROP INDEX "index_users_on_authentication_token"[0m
|
|
69
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
70
|
+
FROM sqlite_master
|
|
71
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
72
|
+
UNION ALL
|
|
73
|
+
SELECT sql
|
|
74
|
+
FROM sqlite_temp_master
|
|
75
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
76
|
+
|
|
77
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
78
|
+
FROM sqlite_master
|
|
79
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
80
|
+
UNION ALL
|
|
81
|
+
SELECT sql
|
|
82
|
+
FROM sqlite_temp_master
|
|
83
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
84
|
+
[0m
|
|
85
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")
|
|
86
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141201085308"]]
|
|
87
|
+
[1m[35m (0.9ms)[0m commit transaction
|
|
88
|
+
Migrating to RemoveUsernameFromUsers (20141201111915)
|
|
89
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
90
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "ausers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' 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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
91
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
92
|
+
FROM sqlite_master
|
|
93
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
94
|
+
UNION ALL
|
|
95
|
+
SELECT sql
|
|
96
|
+
FROM sqlite_temp_master
|
|
97
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
98
|
+
[0m
|
|
99
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
|
100
|
+
FROM sqlite_master
|
|
101
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
102
|
+
UNION ALL
|
|
103
|
+
SELECT sql
|
|
104
|
+
FROM sqlite_temp_master
|
|
105
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
106
|
+
|
|
107
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
108
|
+
FROM sqlite_master
|
|
109
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
110
|
+
UNION ALL
|
|
111
|
+
SELECT sql
|
|
112
|
+
FROM sqlite_temp_master
|
|
113
|
+
WHERE name='index_users_on_username' AND type='index'
|
|
114
|
+
[0m
|
|
115
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "tindex_ausers_on_authentication_token" ON "ausers" ("authentication_token")
|
|
116
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
117
|
+
FROM sqlite_master
|
|
118
|
+
WHERE name='tindex_ausers_on_authentication_token' AND type='index'
|
|
119
|
+
UNION ALL
|
|
120
|
+
SELECT sql
|
|
121
|
+
FROM sqlite_temp_master
|
|
122
|
+
WHERE name='tindex_ausers_on_authentication_token' AND type='index'
|
|
123
|
+
[0m
|
|
124
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "tindex_ausers_on_reset_password_token" ON "ausers" ("reset_password_token")
|
|
125
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
126
|
+
FROM sqlite_master
|
|
127
|
+
WHERE name='tindex_ausers_on_reset_password_token' AND type='index'
|
|
128
|
+
UNION ALL
|
|
129
|
+
SELECT sql
|
|
130
|
+
FROM sqlite_temp_master
|
|
131
|
+
WHERE name='tindex_ausers_on_reset_password_token' AND type='index'
|
|
132
|
+
[0m
|
|
133
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
134
|
+
FROM sqlite_master
|
|
135
|
+
WHERE name='tindex_ausers_on_authentication_token' AND type='index'
|
|
136
|
+
UNION ALL
|
|
137
|
+
SELECT sql
|
|
138
|
+
FROM sqlite_temp_master
|
|
139
|
+
WHERE name='tindex_ausers_on_authentication_token' AND type='index'
|
|
140
|
+
|
|
141
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "tindex_ausers_on_username" ON "ausers" ("username")[0m
|
|
142
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "users"
|
|
143
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "users"[0m
|
|
144
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
145
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
146
|
+
FROM sqlite_master
|
|
147
|
+
WHERE name='tindex_ausers_on_username' AND type='index'
|
|
148
|
+
UNION ALL
|
|
149
|
+
SELECT sql
|
|
150
|
+
FROM sqlite_temp_master
|
|
151
|
+
WHERE name='tindex_ausers_on_username' AND type='index'
|
|
152
|
+
[0m
|
|
153
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
|
154
|
+
FROM sqlite_master
|
|
155
|
+
WHERE name='tindex_ausers_on_reset_password_token' AND type='index'
|
|
156
|
+
UNION ALL
|
|
157
|
+
SELECT sql
|
|
158
|
+
FROM sqlite_temp_master
|
|
159
|
+
WHERE name='tindex_ausers_on_reset_password_token' AND type='index'
|
|
160
|
+
|
|
161
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
162
|
+
FROM sqlite_master
|
|
163
|
+
WHERE name='tindex_ausers_on_authentication_token' AND type='index'
|
|
164
|
+
UNION ALL
|
|
165
|
+
SELECT sql
|
|
166
|
+
FROM sqlite_temp_master
|
|
167
|
+
WHERE name='tindex_ausers_on_authentication_token' AND type='index'
|
|
168
|
+
[0m
|
|
169
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
|
170
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
171
|
+
FROM sqlite_master
|
|
172
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
173
|
+
UNION ALL
|
|
174
|
+
SELECT sql
|
|
175
|
+
FROM sqlite_temp_master
|
|
176
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
177
|
+
[0m
|
|
178
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")
|
|
179
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "ausers"[0m
|
|
180
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ausers"
|
|
181
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141201111915"]]
|
|
182
|
+
[1m[35m (1.2ms)[0m commit transaction
|
|
183
|
+
Migrating to CreateSecretSpaces (20141208080520)
|
|
184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
185
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
186
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141208080520"]]
|
|
187
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
188
|
+
Migrating to CreateActiveAdminComments (20141215153026)
|
|
189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
190
|
+
[1m[35m (0.4ms)[0m 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)
|
|
191
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
192
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
193
|
+
FROM sqlite_master
|
|
194
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
195
|
+
UNION ALL
|
|
196
|
+
SELECT sql
|
|
197
|
+
FROM sqlite_temp_master
|
|
198
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
199
|
+
|
|
200
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
201
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
202
|
+
FROM sqlite_master
|
|
203
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
204
|
+
UNION ALL
|
|
205
|
+
SELECT sql
|
|
206
|
+
FROM sqlite_temp_master
|
|
207
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
208
|
+
|
|
209
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
|
210
|
+
FROM sqlite_master
|
|
211
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
212
|
+
UNION ALL
|
|
213
|
+
SELECT sql
|
|
214
|
+
FROM sqlite_temp_master
|
|
215
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
216
|
+
[0m
|
|
217
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
218
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141215153026"]]
|
|
219
|
+
[1m[35m (0.7ms)[0m commit transaction
|
|
220
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
221
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
|
222
|
+
FROM sqlite_master
|
|
223
|
+
WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'
|
|
224
|
+
UNION ALL
|
|
225
|
+
SELECT sql
|
|
226
|
+
FROM sqlite_temp_master
|
|
227
|
+
WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'
|
|
228
|
+
|
|
229
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
230
|
+
FROM sqlite_master
|
|
231
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
232
|
+
UNION ALL
|
|
233
|
+
SELECT sql
|
|
234
|
+
FROM sqlite_temp_master
|
|
235
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
236
|
+
[0m
|
|
237
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
|
238
|
+
FROM sqlite_master
|
|
239
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
240
|
+
UNION ALL
|
|
241
|
+
SELECT sql
|
|
242
|
+
FROM sqlite_temp_master
|
|
243
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
244
|
+
|
|
245
|
+
[1m[36m (0.6ms)[0m [1m SELECT sql
|
|
246
|
+
FROM sqlite_master
|
|
247
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
248
|
+
UNION ALL
|
|
249
|
+
SELECT sql
|
|
250
|
+
FROM sqlite_temp_master
|
|
251
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
252
|
+
[0m
|
|
253
|
+
[1m[35m (0.5ms)[0m SELECT sql
|
|
254
|
+
FROM sqlite_master
|
|
255
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
256
|
+
UNION ALL
|
|
257
|
+
SELECT sql
|
|
258
|
+
FROM sqlite_temp_master
|
|
259
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
260
|
+
|
|
261
|
+
[1m[36m (1.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
|
|
262
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
263
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
264
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
265
|
+
FROM sqlite_master
|
|
266
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
267
|
+
UNION ALL
|
|
268
|
+
SELECT sql
|
|
269
|
+
FROM sqlite_temp_master
|
|
270
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
271
|
+
|
|
272
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
273
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
274
|
+
FROM sqlite_master
|
|
275
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
276
|
+
UNION ALL
|
|
277
|
+
SELECT sql
|
|
278
|
+
FROM sqlite_temp_master
|
|
279
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
280
|
+
|
|
281
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
282
|
+
FROM sqlite_master
|
|
283
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
284
|
+
UNION ALL
|
|
285
|
+
SELECT sql
|
|
286
|
+
FROM sqlite_temp_master
|
|
287
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
288
|
+
[0m
|
|
289
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
290
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
291
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
292
|
+
[1m[36m (1.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
|
293
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
|
294
|
+
FROM sqlite_master
|
|
295
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
296
|
+
UNION ALL
|
|
297
|
+
SELECT sql
|
|
298
|
+
FROM sqlite_temp_master
|
|
299
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
300
|
+
|
|
301
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
302
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
303
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
304
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
305
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141215153026')[0m
|
|
306
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141127081722')
|
|
307
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141127114158')[0m
|
|
308
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141201085308')
|
|
309
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141201111915')[0m
|
|
310
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141208080520')
|
|
311
|
+
[1m[36m (1.0ms)[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
|
|
312
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
313
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
314
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
315
|
+
FROM sqlite_master
|
|
316
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
317
|
+
UNION ALL
|
|
318
|
+
SELECT sql
|
|
319
|
+
FROM sqlite_temp_master
|
|
320
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
321
|
+
|
|
322
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
323
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
324
|
+
FROM sqlite_master
|
|
325
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
326
|
+
UNION ALL
|
|
327
|
+
SELECT sql
|
|
328
|
+
FROM sqlite_temp_master
|
|
329
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
330
|
+
|
|
331
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
332
|
+
FROM sqlite_master
|
|
333
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
334
|
+
UNION ALL
|
|
335
|
+
SELECT sql
|
|
336
|
+
FROM sqlite_temp_master
|
|
337
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
338
|
+
[0m
|
|
339
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
340
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
341
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
342
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
|
343
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
344
|
+
FROM sqlite_master
|
|
345
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
346
|
+
UNION ALL
|
|
347
|
+
SELECT sql
|
|
348
|
+
FROM sqlite_temp_master
|
|
349
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
350
|
+
|
|
351
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
352
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
353
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
354
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
355
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141215153026')[0m
|
|
356
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141127081722')
|
|
357
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141127114158')[0m
|
|
358
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141201085308')
|
|
359
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141201111915')[0m
|
|
360
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141208080520')
|
|
361
|
+
[1m[36m (1.8ms)[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
|
|
362
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
363
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
364
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
365
|
+
FROM sqlite_master
|
|
366
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
367
|
+
UNION ALL
|
|
368
|
+
SELECT sql
|
|
369
|
+
FROM sqlite_temp_master
|
|
370
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
371
|
+
|
|
372
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
373
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
374
|
+
FROM sqlite_master
|
|
375
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
376
|
+
UNION ALL
|
|
377
|
+
SELECT sql
|
|
378
|
+
FROM sqlite_temp_master
|
|
379
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
380
|
+
|
|
381
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
382
|
+
FROM sqlite_master
|
|
383
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
384
|
+
UNION ALL
|
|
385
|
+
SELECT sql
|
|
386
|
+
FROM sqlite_temp_master
|
|
387
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
388
|
+
[0m
|
|
389
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
390
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
391
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
392
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
|
393
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
|
394
|
+
FROM sqlite_master
|
|
395
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
396
|
+
UNION ALL
|
|
397
|
+
SELECT sql
|
|
398
|
+
FROM sqlite_temp_master
|
|
399
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
400
|
+
|
|
401
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
402
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
403
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
404
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
405
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141215153026')[0m
|
|
406
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141127081722')
|
|
407
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141127114158')[0m
|
|
408
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141201085308')
|
|
409
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141201111915')[0m
|
|
410
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141208080520')
|
|
411
|
+
[1m[36m (0.9ms)[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
|
|
412
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
413
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
414
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
415
|
+
FROM sqlite_master
|
|
416
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
417
|
+
UNION ALL
|
|
418
|
+
SELECT sql
|
|
419
|
+
FROM sqlite_temp_master
|
|
420
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
421
|
+
|
|
422
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
423
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
424
|
+
FROM sqlite_master
|
|
425
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
426
|
+
UNION ALL
|
|
427
|
+
SELECT sql
|
|
428
|
+
FROM sqlite_temp_master
|
|
429
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
430
|
+
|
|
431
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
432
|
+
FROM sqlite_master
|
|
433
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
434
|
+
UNION ALL
|
|
435
|
+
SELECT sql
|
|
436
|
+
FROM sqlite_temp_master
|
|
437
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
438
|
+
[0m
|
|
439
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
440
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
441
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
442
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
|
443
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
444
|
+
FROM sqlite_master
|
|
445
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
446
|
+
UNION ALL
|
|
447
|
+
SELECT sql
|
|
448
|
+
FROM sqlite_temp_master
|
|
449
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
450
|
+
|
|
451
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
452
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
453
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
454
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
455
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141215153026')[0m
|
|
456
|
+
[1m[35m (2.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141127081722')
|
|
457
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141127114158')[0m
|
|
458
|
+
[1m[35m (2.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141201085308')
|
|
459
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141201111915')[0m
|
|
460
|
+
[1m[35m (2.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141208080520')
|
|
461
|
+
[1m[36m (1.7ms)[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
|
|
462
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
463
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
464
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
465
|
+
FROM sqlite_master
|
|
466
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
467
|
+
UNION ALL
|
|
468
|
+
SELECT sql
|
|
469
|
+
FROM sqlite_temp_master
|
|
470
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
471
|
+
|
|
472
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
473
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
474
|
+
FROM sqlite_master
|
|
475
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
476
|
+
UNION ALL
|
|
477
|
+
SELECT sql
|
|
478
|
+
FROM sqlite_temp_master
|
|
479
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
480
|
+
|
|
481
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
482
|
+
FROM sqlite_master
|
|
483
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
484
|
+
UNION ALL
|
|
485
|
+
SELECT sql
|
|
486
|
+
FROM sqlite_temp_master
|
|
487
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
488
|
+
[0m
|
|
489
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
490
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
491
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
492
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
|
493
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
494
|
+
FROM sqlite_master
|
|
495
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
496
|
+
UNION ALL
|
|
497
|
+
SELECT sql
|
|
498
|
+
FROM sqlite_temp_master
|
|
499
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
500
|
+
|
|
501
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
502
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
503
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
504
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
505
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141215153026')[0m
|
|
506
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141127081722')
|
|
507
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141127114158')[0m
|
|
508
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141201085308')
|
|
509
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141201111915')[0m
|
|
510
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141208080520')
|
|
511
|
+
[1m[36m (0.8ms)[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
|
|
512
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
513
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
|
514
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
515
|
+
FROM sqlite_master
|
|
516
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
517
|
+
UNION ALL
|
|
518
|
+
SELECT sql
|
|
519
|
+
FROM sqlite_temp_master
|
|
520
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
521
|
+
|
|
522
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
|
523
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
524
|
+
FROM sqlite_master
|
|
525
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
526
|
+
UNION ALL
|
|
527
|
+
SELECT sql
|
|
528
|
+
FROM sqlite_temp_master
|
|
529
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
530
|
+
|
|
531
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
532
|
+
FROM sqlite_master
|
|
533
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
534
|
+
UNION ALL
|
|
535
|
+
SELECT sql
|
|
536
|
+
FROM sqlite_temp_master
|
|
537
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
538
|
+
[0m
|
|
539
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
|
540
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "secret_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
541
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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, "created_at" datetime, "updated_at" datetime, "authentication_token" varchar(255))
|
|
542
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
|
543
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
544
|
+
FROM sqlite_master
|
|
545
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
546
|
+
UNION ALL
|
|
547
|
+
SELECT sql
|
|
548
|
+
FROM sqlite_temp_master
|
|
549
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
550
|
+
|
|
551
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
|
552
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
553
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
554
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
555
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141215153026')[0m
|
|
556
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141127081722')
|
|
557
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141127114158')[0m
|
|
558
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141201085308')
|
|
559
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141201111915')[0m
|
|
560
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141208080520')
|
|
561
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
562
|
+
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
|
563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
564
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'ios@example.com' LIMIT 1
|
|
565
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."authentication_token" = 'M9h8yNixmx-cRSzCkZsx'[0m
|
|
566
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
567
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("authentication_token", "created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?, ?) [["authentication_token", "M9h8yNixmx-cRSzCkZsx"], ["created_at", "2015-02-18 18:39:28.661533"], ["email", "ios@example.com"], ["encrypted_password", "$2a$10$TUcUDHTXbzFwqNPf/uZAYOGNvljN/GXiXa9wtYiWiqQnVKaLjpCwm"], ["updated_at", "2015-02-18 18:39:28.661533"]]
|
|
568
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
|
569
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
570
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
571
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
572
|
+
FROM sqlite_master
|
|
573
|
+
WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'
|
|
574
|
+
UNION ALL
|
|
575
|
+
SELECT sql
|
|
576
|
+
FROM sqlite_temp_master
|
|
577
|
+
WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'
|
|
578
|
+
[0m
|
|
579
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
580
|
+
FROM sqlite_master
|
|
581
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
582
|
+
UNION ALL
|
|
583
|
+
SELECT sql
|
|
584
|
+
FROM sqlite_temp_master
|
|
585
|
+
WHERE name='index_active_admin_comments_on_namespace' AND type='index'
|
|
586
|
+
|
|
587
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
588
|
+
FROM sqlite_master
|
|
589
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
590
|
+
UNION ALL
|
|
591
|
+
SELECT sql
|
|
592
|
+
FROM sqlite_temp_master
|
|
593
|
+
WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'
|
|
594
|
+
[0m
|
|
595
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
596
|
+
FROM sqlite_master
|
|
597
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
598
|
+
UNION ALL
|
|
599
|
+
SELECT sql
|
|
600
|
+
FROM sqlite_temp_master
|
|
601
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
|
602
|
+
|
|
603
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
604
|
+
FROM sqlite_master
|
|
605
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
606
|
+
UNION ALL
|
|
607
|
+
SELECT sql
|
|
608
|
+
FROM sqlite_temp_master
|
|
609
|
+
WHERE name='index_users_on_authentication_token' AND type='index'
|
|
610
|
+
[0m
|