user_impersonate2 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -12
- data/Rakefile +6 -4
- data/app/controllers/user_impersonate/impersonate_controller.rb +1 -1
- data/lib/user_impersonate/version.rb +1 -1
- data/test/{dummy → dummy-rails3}/README.rdoc +0 -0
- data/test/{dummy → dummy-rails3}/Rakefile +0 -0
- data/test/{dummy → dummy-rails3}/app/assets/javascripts/application.js +0 -0
- data/test/{dummy → dummy-rails3}/app/assets/javascripts/home.js +0 -0
- data/test/{dummy → dummy-rails3}/app/assets/stylesheets/application.css +0 -0
- data/test/{dummy → dummy-rails3}/app/assets/stylesheets/home.css +0 -0
- data/test/{dummy → dummy-rails3}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → dummy-rails3}/app/controllers/home_controller.rb +0 -0
- data/test/{dummy → dummy-rails3}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → dummy-rails3}/app/helpers/home_helper.rb +0 -0
- data/test/{dummy → dummy-rails3}/app/models/user.rb +0 -0
- data/test/{dummy → dummy-rails3}/app/views/home/index.html.erb +0 -0
- data/test/{dummy → dummy-rails3}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy → dummy-rails3}/app/views/user_impersonate/_header.html.erb +0 -0
- data/test/{dummy → dummy-rails3}/config.ru +0 -0
- data/test/{dummy → dummy-rails3}/config/application.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/boot.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/database.yml +0 -0
- data/test/{dummy → dummy-rails3}/config/environment.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/environments/development.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/environments/production.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/environments/test.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/devise.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/secret_token.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/session_store.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/user_impersonate.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → dummy-rails3}/config/locales/devise.en.yml +0 -0
- data/test/{dummy → dummy-rails3}/config/locales/en.yml +0 -0
- data/test/{dummy → dummy-rails3}/config/routes.rb +0 -0
- data/test/{dummy → dummy-rails3}/db/development.sqlite3 +0 -0
- data/test/{dummy → dummy-rails3}/db/migrate/20120914174453_devise_create_users.rb +0 -0
- data/test/{dummy → dummy-rails3}/db/migrate/20120914184123_add_staff_flag_to_users.rb +0 -0
- data/test/{dummy → dummy-rails3}/db/schema.rb +0 -0
- data/test/{dummy → dummy-rails3}/db/test.sqlite3 +0 -0
- data/test/{dummy → dummy-rails3}/lib/tasks/cucumber.rake +0 -0
- data/test/dummy-rails3/log/development.log +262 -0
- data/test/dummy-rails3/log/test.log +1091 -0
- data/test/{dummy → dummy-rails3}/public/404.html +0 -0
- data/test/{dummy → dummy-rails3}/public/422.html +0 -0
- data/test/{dummy → dummy-rails3}/public/500.html +0 -0
- data/test/{dummy → dummy-rails3}/public/favicon.ico +0 -0
- data/test/{dummy → dummy-rails3}/script/rails +0 -0
- data/test/{dummy → dummy-rails3}/test/fixtures/users.yml +0 -0
- data/test/{dummy → dummy-rails3}/test/unit/helpers/home_helper_test.rb +0 -0
- data/test/{dummy → dummy-rails3}/test/unit/user_test.rb +0 -0
- data/test/dummy-rails4/README.rdoc +261 -0
- data/test/dummy-rails4/Rakefile +7 -0
- data/test/dummy-rails4/app/assets/javascripts/application.js +15 -0
- data/test/dummy-rails4/app/assets/javascripts/home.js +2 -0
- data/test/dummy-rails4/app/assets/stylesheets/application.css +16 -0
- data/test/dummy-rails4/app/assets/stylesheets/home.css +7 -0
- data/test/dummy-rails4/app/controllers/application_controller.rb +3 -0
- data/test/dummy-rails4/app/controllers/home_controller.rb +4 -0
- data/test/dummy-rails4/app/helpers/application_helper.rb +2 -0
- data/test/dummy-rails4/app/helpers/home_helper.rb +2 -0
- data/test/dummy-rails4/app/models/user.rb +17 -0
- data/test/dummy-rails4/app/views/home/index.html.erb +11 -0
- data/test/dummy-rails4/app/views/layouts/application.html.erb +22 -0
- data/test/dummy-rails4/app/views/user_impersonate/_header.html.erb +65 -0
- data/test/dummy-rails4/config.ru +4 -0
- data/test/dummy-rails4/config/application.rb +57 -0
- data/test/dummy-rails4/config/boot.rb +10 -0
- data/test/dummy-rails4/config/database.yml +25 -0
- data/test/dummy-rails4/config/environment.rb +5 -0
- data/test/dummy-rails4/config/environments/development.rb +36 -0
- data/test/dummy-rails4/config/environments/production.rb +69 -0
- data/test/dummy-rails4/config/environments/test.rb +33 -0
- data/test/dummy-rails4/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy-rails4/config/initializers/devise.rb +234 -0
- data/test/dummy-rails4/config/initializers/inflections.rb +15 -0
- data/test/dummy-rails4/config/initializers/mime_types.rb +5 -0
- data/test/dummy-rails4/config/initializers/secret_token.rb +9 -0
- data/test/dummy-rails4/config/initializers/session_store.rb +8 -0
- data/test/dummy-rails4/config/initializers/user_impersonate.rb +18 -0
- data/test/dummy-rails4/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy-rails4/config/locales/devise.en.yml +58 -0
- data/test/dummy-rails4/config/locales/en.yml +5 -0
- data/test/dummy-rails4/config/routes.rb +8 -0
- data/test/dummy-rails4/db/development.sqlite3 +0 -0
- data/test/dummy-rails4/db/migrate/20120914174453_devise_create_users.rb +48 -0
- data/test/dummy-rails4/db/migrate/20120914184123_add_staff_flag_to_users.rb +5 -0
- data/test/dummy-rails4/db/schema.rb +36 -0
- data/test/dummy-rails4/db/test.sqlite3 +0 -0
- data/test/dummy-rails4/lib/tasks/cucumber.rake +65 -0
- data/test/dummy-rails4/log/development.log +27 -0
- data/test/dummy-rails4/log/test.log +465 -0
- data/test/dummy-rails4/public/404.html +26 -0
- data/test/dummy-rails4/public/422.html +26 -0
- data/test/dummy-rails4/public/500.html +25 -0
- data/test/dummy-rails4/public/favicon.ico +0 -0
- data/test/dummy-rails4/script/rails +6 -0
- data/test/dummy-rails4/test/fixtures/users.yml +14 -0
- data/test/dummy-rails4/test/unit/helpers/home_helper_test.rb +4 -0
- data/test/dummy-rails4/test/unit/user_test.rb +7 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/1c9faaf28d05409b88ad3113374d613c +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/2625847957ecb8614efc9b58b07cabdf +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/35f33ae400a6b0b5bf527436a68133b5 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/3b83d2c20dfdb631259eb9d056ea4419 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/40fc2f3d2a468a00e463f1d313cb1683 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/5f1c168e97e274509aa4673eab0d86f6 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/681d1010f98d5ed273e67645c7cb454d +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/7411b44628aea038332f13f5ed73e073 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/7f14251885cab31b58c878119cbdc199 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8483b329d12e7e986bc5a2204bbcb4f8 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8ff157af159f38d424ce1367e29760a2 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/b6f020b01a84691088a0c459a18f9c7e +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/b878faf942403e313a5b103e5d80488e +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/bdaaf186999b6b59a3063d23b589d307 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/d0cde4ef34755468270bb49c4a3689f1 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/edbef6e0d0a4742346cf479f2c522eb0 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/f1aac9109f5dae028b3c56eb07311208 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/fd6c8e27b44aa2db77bf0a8b5118bdf8 +0 -0
- data/test/functional/impersonate_controller_test.rb +19 -0
- data/test/test_helper.rb +18 -4
- data/test/test_utils.rb +49 -0
- metadata +262 -112
- data/test/dummy/log/development.log +0 -751
- data/test/dummy/log/test.log +0 -8348
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79dcaa58e0af34be4bda2e70631b6da1c207b25a
|
4
|
+
data.tar.gz: fac240114eca6e3bc5003fbcd42cb322443cfb2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4747a157aec5dd7347766f854afa9279271b49e0144570831dd1957ae878214efda5b161b962fdeac904aac7a82851103983781a38e5af3ab8278e773a22eaeb
|
7
|
+
data.tar.gz: 4da5517ac92079d073cc6d7c41361b4b67f7a8a8415acd76da746acec104b6179676289f64682cc5f6d7326c79d18a7e09c900a2dddb1f32fe165622a569fdc4
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ gem. It supports Rails 3.2.x and Rails 4 and has been tested against Ruby 1.9.3,
|
|
12
12
|
|
13
13
|
## Overview
|
14
14
|
|
15
|
-
`
|
15
|
+
`user_impersonate2` allows staff users to impersonate normal users: to see what
|
16
16
|
they see and to only do what they can do.
|
17
17
|
|
18
18
|
This concept and code was extracted from [Engine Yard Cloud](http://www.engineyard.com/products/cloud),
|
@@ -22,6 +22,10 @@ This Rails engine currently supports the following Rails authentication systems:
|
|
22
22
|
|
23
23
|
* [Devise](https://github.com/plataformatec/devise)
|
24
24
|
|
25
|
+
## Links
|
26
|
+
|
27
|
+
* [Wiki](https://github.com/rcook/user_impersonate2/wiki) (includes tutorials etc.)
|
28
|
+
|
25
29
|
## Example usage
|
26
30
|
|
27
31
|
When you are impersonating a user you see what they see with a header section
|
@@ -247,21 +251,20 @@ Deface::Override.new(:virtual_path => "spree/layouts/spree_application",
|
|
247
251
|
See [`.travis.yml`](https://github.com/rcook/user_impersonate2/blob/master/.travis.yml)
|
248
252
|
for details of the commands that are run as part of the Travis-CI build of this
|
249
253
|
project. The minimum bar for all push requests is that the Travis-CI build must
|
250
|
-
pass.
|
251
|
-
introduced into the gem.
|
254
|
+
pass. Contributors are also strongly encouraged to add new tests to cover any
|
255
|
+
new functionality introduced into the gem.
|
252
256
|
|
253
257
|
To manually run the Travis-CI verification steps on your local machine, you can
|
254
|
-
use the following sequence of commands:
|
258
|
+
use the following sequence of commands for Rails 3.2.x:
|
259
|
+
|
260
|
+
```bash
|
261
|
+
script/test -g Gemfile.rails3
|
262
|
+
```
|
263
|
+
|
264
|
+
To test against Rails 4.0.x, use:
|
255
265
|
|
256
266
|
```bash
|
257
|
-
|
258
|
-
bundle install
|
259
|
-
# Reset database
|
260
|
-
bundle exec rake db:reset
|
261
|
-
# Run Minitest and Cucumber tests
|
262
|
-
bundle exec rake
|
263
|
-
# Build the gem
|
264
|
-
bundle exec gem build user_impersonate2.gemspec
|
267
|
+
script/test -g Gemfile.rails4
|
265
268
|
```
|
266
269
|
|
267
270
|
## Licence
|
data/Rakefile
CHANGED
@@ -12,6 +12,10 @@ rescue LoadError
|
|
12
12
|
RDoc::Task = Rake::RDocTask
|
13
13
|
end
|
14
14
|
|
15
|
+
require File.expand_path('../test/test_utils', __FILE__)
|
16
|
+
|
17
|
+
puts "Testing against Rails #{TestUtils.rails_version} with dummy application in #{TestUtils.dummy_app_dir}"
|
18
|
+
|
15
19
|
RDoc::Task.new(:rdoc) do |rdoc|
|
16
20
|
rdoc.rdoc_dir = 'rdoc'
|
17
21
|
rdoc.title = 'UserImpersonate'
|
@@ -20,11 +24,9 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
20
24
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
25
|
end
|
22
26
|
|
23
|
-
APP_RAKEFILE = File.expand_path("../test/
|
27
|
+
APP_RAKEFILE = File.expand_path("../test/#{TestUtils.dummy_app_dir}/Rakefile", __FILE__)
|
24
28
|
load 'rails/tasks/engine.rake'
|
25
29
|
|
26
|
-
|
27
|
-
|
28
30
|
Bundler::GemHelper.install_tasks
|
29
31
|
|
30
32
|
require 'rake/testtask'
|
@@ -38,4 +40,4 @@ end
|
|
38
40
|
|
39
41
|
task :cucumber => 'app:cucumber'
|
40
42
|
# task :default => [:test, :spec, :cucumber]
|
41
|
-
task :default => [:test, :cucumber]
|
43
|
+
task :default => [:test, :cucumber]
|
@@ -2,7 +2,7 @@ require_dependency "user_impersonate/application_controller"
|
|
2
2
|
|
3
3
|
module UserImpersonate
|
4
4
|
class ImpersonateController < ApplicationController
|
5
|
-
before_filter :authenticate_the_user
|
5
|
+
before_filter :authenticate_the_user, except: ["destroy"]
|
6
6
|
before_filter :current_user_must_be_staff!, except: ["destroy"]
|
7
7
|
|
8
8
|
# Display list of all users, except current (staff) user
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
@@ -0,0 +1,262 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (33.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
4
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
5
|
+
[1m[35m (21.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
6
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
7
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
8
|
+
[1m[36m (18.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
9
|
+
[1m[35m (36.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
11
|
+
[1m[35m (19.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
13
|
+
[1m[35m (22.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
14
|
+
[1m[36m (17.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
15
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
16
|
+
Connecting to database specified by database.yml
|
17
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
18
|
+
[1m[35m (48.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
19
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
20
|
+
[1m[35m (35.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
21
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
22
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
23
|
+
[1m[36m (31.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
24
|
+
[1m[35m (30.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
25
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
26
|
+
[1m[35m (41.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
27
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
28
|
+
[1m[35m (31.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
29
|
+
[1m[36m (30.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
30
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
31
|
+
Connecting to database specified by database.yml
|
32
|
+
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
33
|
+
[1m[35m (24.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
34
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
35
|
+
[1m[35m (26.2ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
36
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
37
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
38
|
+
[1m[36m (21.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
39
|
+
[1m[35m (26.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
40
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
41
|
+
[1m[35m (25.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
42
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
43
|
+
[1m[35m (21.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
44
|
+
[1m[36m (23.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
45
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
46
|
+
Connecting to database specified by database.yml
|
47
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
48
|
+
[1m[35m (18.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
49
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
50
|
+
[1m[35m (16.1ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
51
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("users")[0m
|
52
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
53
|
+
[1m[36m (40.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
54
|
+
[1m[35m (28.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
55
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
56
|
+
[1m[35m (28.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
58
|
+
[1m[35m (16.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
59
|
+
[1m[36m (26.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
60
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
61
|
+
Connecting to database specified by database.yml
|
62
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
63
|
+
[1m[35m (16.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
64
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
65
|
+
[1m[35m (30.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
66
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
67
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
68
|
+
[1m[36m (24.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
69
|
+
[1m[35m (15.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
70
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
71
|
+
[1m[35m (15.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
72
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
73
|
+
[1m[35m (31.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
74
|
+
[1m[36m (24.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
75
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
76
|
+
Connecting to database specified by database.yml
|
77
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
78
|
+
[1m[35m (32.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
79
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
80
|
+
[1m[35m (24.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
81
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
82
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
83
|
+
[1m[36m (18.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
84
|
+
[1m[35m (21.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
85
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
86
|
+
[1m[35m (15.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
87
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
88
|
+
[1m[35m (20.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
89
|
+
[1m[36m (14.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
90
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
91
|
+
Connecting to database specified by database.yml
|
92
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
93
|
+
[1m[35m (36.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
94
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
95
|
+
[1m[35m (35.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
96
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("users")[0m
|
97
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
98
|
+
[1m[36m (20.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
99
|
+
[1m[35m (21.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
100
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
101
|
+
[1m[35m (15.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
102
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
103
|
+
[1m[35m (31.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
104
|
+
[1m[36m (25.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
105
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
106
|
+
Connecting to database specified by database.yml
|
107
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
108
|
+
[1m[35m (19.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
109
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
110
|
+
[1m[35m (16.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
111
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
112
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
113
|
+
[1m[36m (24.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
114
|
+
[1m[35m (26.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
115
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
116
|
+
[1m[35m (21.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
117
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
118
|
+
[1m[35m (21.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
119
|
+
[1m[36m (17.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
120
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
121
|
+
Connecting to database specified by database.yml
|
122
|
+
[1m[36m (0.8ms)[0m [1mselect sqlite_version(*)[0m
|
123
|
+
[1m[35m (27.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
124
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
125
|
+
[1m[35m (15.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
126
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
127
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
128
|
+
[1m[36m (20.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
129
|
+
[1m[35m (18.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
130
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
131
|
+
[1m[35m (15.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
132
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
133
|
+
[1m[35m (37.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
134
|
+
[1m[36m (29.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
135
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
136
|
+
Connecting to database specified by database.yml
|
137
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
138
|
+
[1m[35m (28.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
139
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
140
|
+
[1m[35m (31.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
141
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
142
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
143
|
+
[1m[36m (44.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
144
|
+
[1m[35m (28.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
145
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
146
|
+
[1m[35m (30.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
147
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
148
|
+
[1m[35m (23.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
149
|
+
[1m[36m (17.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
150
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
151
|
+
Connecting to database specified by database.yml
|
152
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
153
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
154
|
+
[1m[36m (31.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f') [0m
|
155
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
156
|
+
[1m[36m (21.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
157
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
158
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
159
|
+
[1m[35m (30.9ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
160
|
+
[1m[36m (23.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
161
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
162
|
+
[1m[36m (26.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
163
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
164
|
+
[1m[36m (32.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
165
|
+
[1m[35m (25.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
166
|
+
Connecting to database specified by database.yml
|
167
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
168
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
169
|
+
[1m[36m (35.2ms)[0m [1mDROP TABLE "users"[0m
|
170
|
+
[1m[35m (27.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
171
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
172
|
+
[1m[35m (19.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
173
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
174
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
175
|
+
[1m[36m (20.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
176
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
177
|
+
Connecting to database specified by database.yml
|
178
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
179
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
180
|
+
[1m[36m (17.9ms)[0m [1mDROP TABLE "users"[0m
|
181
|
+
[1m[35m (21.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
182
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
183
|
+
[1m[35m (29.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
184
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
185
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
186
|
+
[1m[36m (37.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
187
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
188
|
+
Connecting to database specified by database.yml
|
189
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
190
|
+
[1m[35m (22.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
191
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
192
|
+
[1m[35m (15.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
193
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
194
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
195
|
+
[1m[36m (29.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
196
|
+
[1m[35m (23.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
197
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
198
|
+
[1m[35m (16.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
199
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
200
|
+
[1m[35m (29.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
201
|
+
[1m[36m (15.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
202
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
203
|
+
Connecting to database specified by database.yml
|
204
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
205
|
+
[1m[35m (23.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
206
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
207
|
+
[1m[35m (20.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
208
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
209
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
210
|
+
[1m[36m (21.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
211
|
+
[1m[35m (17.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
212
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
213
|
+
[1m[35m (15.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
214
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
215
|
+
[1m[35m (16.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
216
|
+
[1m[36m (18.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
217
|
+
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
218
|
+
Connecting to database specified by database.yml
|
219
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
220
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
221
|
+
[1m[36m (18.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f') [0m
|
222
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
223
|
+
[1m[36m (20.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
224
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
225
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
226
|
+
[1m[35m (20.9ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
227
|
+
[1m[36m (15.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
228
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
229
|
+
[1m[36m (15.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
230
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
231
|
+
[1m[36m (15.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
232
|
+
[1m[35m (18.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
233
|
+
Connecting to database specified by database.yml
|
234
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
235
|
+
[1m[35m (17.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f')
|
236
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
237
|
+
[1m[35m (21.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
238
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
239
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
240
|
+
[1m[36m (31.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
241
|
+
[1m[35m (26.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
242
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
243
|
+
[1m[35m (31.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
244
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
245
|
+
[1m[35m (32.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
246
|
+
[1m[36m (21.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
247
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
248
|
+
Connecting to database specified by database.yml
|
249
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
250
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
251
|
+
[1m[36m (36.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" 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, "sign_in_count" integer DEFAULT 0, "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 NOT NULL, "updated_at" datetime NOT NULL, "staff" boolean DEFAULT 'f') [0m
|
252
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
253
|
+
[1m[36m (26.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
254
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
255
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
256
|
+
[1m[35m (33.9ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
257
|
+
[1m[36m (29.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
258
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
259
|
+
[1m[36m (33.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
260
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
261
|
+
[1m[36m (19.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
262
|
+
[1m[35m (18.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|