clearance 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of clearance might be problematic. Click here for more details.
- data/CHANGELOG.md +6 -0
- data/README.md +15 -4
- data/VERSION +1 -1
- data/app/controllers/clearance/passwords_controller.rb +14 -6
- data/lib/clearance.rb +0 -3
- data/lib/clearance/shoulda_macros.rb +1 -176
- data/lib/rails/generators/clearance_features_templates/features/password_reset.feature +4 -3
- data/lib/rails/generators/clearance_features_templates/features/sign_in.feature +3 -2
- data/lib/rails/generators/clearance_features_templates/features/sign_out.feature +4 -3
- data/lib/rails/generators/clearance_features_templates/features/sign_up.feature +3 -2
- data/lib/rails/generators/clearance_features_templates/features/step_definitions/clearance_steps.rb +2 -10
- data/spec/rails_root/Gemfile.lock +143 -0
- data/spec/rails_root/app/views/passwords/edit.html.erb +21 -0
- data/spec/rails_root/app/views/passwords/new.html.erb +15 -0
- data/spec/rails_root/app/views/sessions/new.html.erb +21 -0
- data/spec/rails_root/app/views/users/_inputs.html.erb +6 -0
- data/spec/rails_root/app/views/users/new.html.erb +10 -0
- data/spec/rails_root/db/development.sqlite3 +0 -0
- data/spec/rails_root/db/migrate/20110209234521_clearance_create_users.rb +19 -0
- data/spec/rails_root/db/schema.rb +28 -0
- data/spec/rails_root/db/test.sqlite3 +0 -0
- data/spec/rails_root/features/password_reset.feature +40 -0
- data/spec/rails_root/features/sign_in.feature +28 -0
- data/spec/rails_root/features/sign_out.feature +16 -0
- data/spec/rails_root/features/sign_up.feature +21 -0
- data/spec/rails_root/features/step_definitions/clearance_steps.rb +109 -0
- data/spec/rails_root/log/development.log +536 -0
- data/spec/rails_root/log/test.log +7600 -0
- data/spec/rails_root/test/factories/clearance.rb +13 -0
- data/spec/rails_root/test/functional/accounts_controller_test.rb +22 -0
- data/spec/rails_root/test/performance/browsing_test.rb +9 -0
- data/spec/rails_root/test/test_helper.rb +13 -0
- data/spec/rails_root/vendor/Gemfile +17 -0
- data/spec/rails_root/vendor/Gemfile.lock +143 -0
- data/spec/rails_root/vendor/README +244 -0
- data/spec/rails_root/vendor/Rakefile +10 -0
- data/spec/rails_root/vendor/app/controllers/accounts_controller.rb +10 -0
- data/spec/rails_root/vendor/app/controllers/application_controller.rb +6 -0
- data/spec/rails_root/vendor/app/helpers/application_helper.rb +2 -0
- data/spec/rails_root/vendor/app/models/user.rb +3 -0
- data/spec/rails_root/vendor/app/views/accounts/edit.html.erb +0 -0
- data/spec/rails_root/vendor/app/views/layouts/application.html.erb +24 -0
- data/spec/rails_root/vendor/app/views/passwords/edit.html.erb +21 -0
- data/spec/rails_root/vendor/app/views/passwords/new.html.erb +15 -0
- data/spec/rails_root/vendor/app/views/sessions/new.html.erb +21 -0
- data/spec/rails_root/vendor/app/views/users/_inputs.html.erb +6 -0
- data/spec/rails_root/vendor/app/views/users/new.html.erb +10 -0
- data/spec/rails_root/vendor/config.ru +4 -0
- data/spec/rails_root/vendor/config/application.rb +46 -0
- data/spec/rails_root/vendor/config/boot.rb +6 -0
- data/spec/rails_root/vendor/config/cucumber.yml +8 -0
- data/spec/rails_root/vendor/config/database.yml +25 -0
- data/spec/rails_root/vendor/config/environment.rb +7 -0
- data/spec/rails_root/vendor/config/environments/development.rb +21 -0
- data/spec/rails_root/vendor/config/environments/production.rb +42 -0
- data/spec/rails_root/vendor/config/environments/test.rb +34 -0
- data/spec/rails_root/vendor/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails_root/vendor/config/initializers/clearance.rb +3 -0
- data/spec/rails_root/vendor/config/initializers/inflections.rb +10 -0
- data/spec/rails_root/vendor/config/initializers/mime_types.rb +5 -0
- data/spec/rails_root/vendor/config/initializers/secret_token.rb +7 -0
- data/spec/rails_root/vendor/config/initializers/session_store.rb +8 -0
- data/spec/rails_root/vendor/config/locales/en.yml +5 -0
- data/spec/rails_root/vendor/config/routes.rb +61 -0
- data/spec/rails_root/vendor/db/development.sqlite3 +0 -0
- data/spec/rails_root/vendor/db/migrate/20101220184900_clearance_create_users.rb +20 -0
- data/spec/rails_root/vendor/db/schema.rb +29 -0
- data/spec/rails_root/vendor/db/test.sqlite3 +0 -0
- data/spec/rails_root/vendor/doc/README_FOR_APP +2 -0
- data/spec/rails_root/vendor/features/password_reset.feature +33 -0
- data/spec/rails_root/vendor/features/sign_in.feature +35 -0
- data/spec/rails_root/vendor/features/sign_out.feature +15 -0
- data/spec/rails_root/vendor/features/sign_up.feature +45 -0
- data/spec/rails_root/vendor/features/step_definitions/clearance_steps.rb +138 -0
- data/spec/rails_root/vendor/features/step_definitions/web_steps.rb +219 -0
- data/spec/rails_root/vendor/features/support/env.rb +57 -0
- data/spec/rails_root/vendor/features/support/paths.rb +45 -0
- data/spec/rails_root/vendor/lib/tasks/cucumber.rake +53 -0
- data/spec/rails_root/vendor/log/development.log +663 -0
- data/spec/rails_root/vendor/log/test.log +22745 -0
- data/spec/rails_root/vendor/public/404.html +26 -0
- data/spec/rails_root/vendor/public/422.html +26 -0
- data/spec/rails_root/vendor/public/500.html +26 -0
- data/spec/rails_root/vendor/public/favicon.ico +0 -0
- data/spec/rails_root/vendor/public/images/rails.png +0 -0
- data/spec/rails_root/vendor/public/javascripts/application.js +2 -0
- data/spec/rails_root/vendor/public/javascripts/controls.js +965 -0
- data/spec/rails_root/vendor/public/javascripts/dragdrop.js +974 -0
- data/spec/rails_root/vendor/public/javascripts/effects.js +1123 -0
- data/spec/rails_root/vendor/public/javascripts/prototype.js +4874 -0
- data/spec/rails_root/vendor/public/javascripts/rails.js +118 -0
- data/spec/rails_root/vendor/public/robots.txt +5 -0
- data/spec/rails_root/vendor/script/cucumber +10 -0
- data/spec/rails_root/vendor/script/rails +9 -0
- data/spec/rails_root/vendor/test/factories/clearance.rb +13 -0
- data/spec/rails_root/vendor/test/functional/accounts_controller_test.rb +22 -0
- data/spec/rails_root/vendor/test/performance/browsing_test.rb +9 -0
- data/spec/rails_root/vendor/test/test_helper.rb +13 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/MIT-LICENSE +20 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/README +13 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/Rakefile +10 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/init.rb +5 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/lib/action_view/helpers/dynamic_form.rb +300 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/lib/action_view/locale/en.yml +8 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/test/dynamic_form_i18n_test.rb +42 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/test/dynamic_form_test.rb +370 -0
- data/spec/rails_root/vendor/vendor/plugins/dynamic_form/test/test_helper.rb +9 -0
- data/test/controllers/passwords_controller_test.rb +19 -0
- data/test/models/clearance_mailer_test.rb +1 -1
- data/test/rails_root/Gemfile.lock +145 -0
- data/test/rails_root/app/views/passwords/edit.html.erb +21 -0
- data/test/rails_root/app/views/passwords/new.html.erb +15 -0
- data/test/rails_root/app/views/sessions/new.html.erb +21 -0
- data/test/rails_root/app/views/users/_inputs.html.erb +6 -0
- data/test/rails_root/app/views/users/new.html.erb +10 -0
- data/test/rails_root/db/development.sqlite3 +0 -0
- data/test/rails_root/db/migrate/20110209234101_clearance_create_users.rb +19 -0
- data/test/rails_root/db/schema.rb +28 -0
- data/test/rails_root/db/test.sqlite3 +0 -0
- data/test/rails_root/features/password_reset.feature +40 -0
- data/test/rails_root/features/sign_in.feature +28 -0
- data/test/rails_root/features/sign_out.feature +16 -0
- data/test/rails_root/features/sign_up.feature +21 -0
- data/test/rails_root/features/step_definitions/clearance_steps.rb +109 -0
- data/test/rails_root/log/development.log +938 -0
- data/test/rails_root/log/test.log +20303 -0
- data/test/test_helper.rb +1 -0
- metadata +263 -42
- data/clearance.gemspec +0 -198
- data/cucumber.yml +0 -4
- data/init.rb +0 -1
- data/lib/clearance/extensions/errors.rb +0 -6
- data/lib/clearance/extensions/rescue.rb +0 -5
@@ -0,0 +1,21 @@
|
|
1
|
+
<h2>Change your password</h2>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
Your password has been reset. Choose a new password below.
|
5
|
+
</p>
|
6
|
+
|
7
|
+
<%= semantic_form_for(:user,
|
8
|
+
:url => user_password_path(@user, :token => @user.confirmation_token),
|
9
|
+
:html => { :method => :put }) do |form| %>
|
10
|
+
<%= form.error_messages %>
|
11
|
+
<%= form.inputs do -%>
|
12
|
+
<%= form.input :password, :as => :password,
|
13
|
+
:label => "Choose password" %>
|
14
|
+
<%= form.input :password_confirmation, :as => :password,
|
15
|
+
:label => "Confirm password" %>
|
16
|
+
<% end -%>
|
17
|
+
<%= form.buttons do -%>
|
18
|
+
<%= form.commit_button "Save this password" %>
|
19
|
+
<% end -%>
|
20
|
+
<% end %>
|
21
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<h2>Reset your password</h2>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
We will email you a link to reset your password.
|
5
|
+
</p>
|
6
|
+
|
7
|
+
<%= semantic_form_for :password, :url => passwords_path do |form| -%>
|
8
|
+
<%= form.inputs do -%>
|
9
|
+
<%= form.input :email, :label => "Email address" %>
|
10
|
+
<% end -%>
|
11
|
+
<%= form.buttons do -%>
|
12
|
+
<%= form.commit_button "Reset password" %>
|
13
|
+
<% end -%>
|
14
|
+
<% end -%>
|
15
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<h2>Sign in</h2>
|
2
|
+
|
3
|
+
<%= semantic_form_for :session, :url => session_path do |form| %>
|
4
|
+
<%= form.inputs do %>
|
5
|
+
<%= form.input :email %>
|
6
|
+
<%= form.input :password, :as => :password %>
|
7
|
+
<% end %>
|
8
|
+
<%= form.buttons do %>
|
9
|
+
<%= form.commit_button "Sign in" %>
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<ul>
|
14
|
+
<li>
|
15
|
+
<%= link_to "Sign up", sign_up_path %>
|
16
|
+
</li>
|
17
|
+
<li>
|
18
|
+
<%= link_to "Forgot password?", new_password_path %>
|
19
|
+
</li>
|
20
|
+
</ul>
|
21
|
+
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class ClearanceCreateUsers < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table(:users) do |t|
|
4
|
+
t.string :email
|
5
|
+
t.string :encrypted_password, :limit => 128
|
6
|
+
t.string :salt, :limit => 128
|
7
|
+
t.string :confirmation_token, :limit => 128
|
8
|
+
t.string :remember_token, :limit => 128
|
9
|
+
t.timestamps
|
10
|
+
end
|
11
|
+
|
12
|
+
add_index :users, :email
|
13
|
+
add_index :users, :remember_token
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.down
|
17
|
+
drop_table :users
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended to check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(:version => 20110209234521) do
|
14
|
+
|
15
|
+
create_table "users", :force => true do |t|
|
16
|
+
t.string "email"
|
17
|
+
t.string "encrypted_password", :limit => 128
|
18
|
+
t.string "salt", :limit => 128
|
19
|
+
t.string "confirmation_token", :limit => 128
|
20
|
+
t.string "remember_token", :limit => 128
|
21
|
+
t.datetime "created_at"
|
22
|
+
t.datetime "updated_at"
|
23
|
+
end
|
24
|
+
|
25
|
+
add_index "users", ["email"], :name => "index_users_on_email"
|
26
|
+
add_index "users", ["remember_token"], :name => "index_users_on_remember_token"
|
27
|
+
|
28
|
+
end
|
Binary file
|
@@ -0,0 +1,40 @@
|
|
1
|
+
Feature: Password reset
|
2
|
+
|
3
|
+
In order to sign in even if I forgot my password
|
4
|
+
As a user
|
5
|
+
I want to reset my password
|
6
|
+
|
7
|
+
Scenario: User is not signed up
|
8
|
+
Given no user exists with an email of "email@person.com"
|
9
|
+
When I request password reset link to be sent to "email@person.com"
|
10
|
+
Then I should see "Unknown email"
|
11
|
+
|
12
|
+
Scenario: User is signed up and requests password reset
|
13
|
+
Given I signed up with "email@person.com/password"
|
14
|
+
When I request password reset link to be sent to "email@person.com"
|
15
|
+
Then I should see "instructions for changing your password"
|
16
|
+
And a password reset message should be sent to "email@person.com"
|
17
|
+
|
18
|
+
Scenario: User is signed up updated his password and types wrong confirmation
|
19
|
+
Given I signed up with "email@person.com/password"
|
20
|
+
And I go to the password reset request page
|
21
|
+
And I fill in "Email address" with "email@person.com"
|
22
|
+
And I press "Reset password"
|
23
|
+
When I follow the password reset link sent to "email@person.com"
|
24
|
+
And I update my password with "newpassword/wrongconfirmation"
|
25
|
+
Then I should see an error message
|
26
|
+
And I should be signed out
|
27
|
+
|
28
|
+
Scenario: User is signed up and updates his password
|
29
|
+
Given I signed up with "email@person.com/password"
|
30
|
+
And I go to the password reset request page
|
31
|
+
And I fill in "Email address" with "email@person.com"
|
32
|
+
And I press "Reset password"
|
33
|
+
When I follow the password reset link sent to "email@person.com"
|
34
|
+
And I update my password with "newpassword/newpassword"
|
35
|
+
Then I should be signed in
|
36
|
+
When I sign out
|
37
|
+
Then I should be signed out
|
38
|
+
And I sign in as "email@person.com/newpassword"
|
39
|
+
Then I should be signed in
|
40
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
Feature: Sign in
|
2
|
+
|
3
|
+
In order to get access to protected sections of the site
|
4
|
+
As a user
|
5
|
+
I want to sign in
|
6
|
+
|
7
|
+
Scenario: User is not signed up
|
8
|
+
Given no user exists with an email of "email@person.com"
|
9
|
+
When I go to the sign in page
|
10
|
+
And I sign in as "email@person.com/password"
|
11
|
+
Then I should see "Bad email or password"
|
12
|
+
And I should be signed out
|
13
|
+
|
14
|
+
Scenario: User enters wrong password
|
15
|
+
Given I am signed up as "email@person.com/password"
|
16
|
+
When I go to the sign in page
|
17
|
+
And I sign in as "email@person.com/wrongpassword"
|
18
|
+
Then I should see "Bad email or password"
|
19
|
+
And I should be signed out
|
20
|
+
|
21
|
+
Scenario: User signs in successfully
|
22
|
+
Given I am signed up as "email@person.com/password"
|
23
|
+
When I go to the sign in page
|
24
|
+
And I sign in as "email@person.com/password"
|
25
|
+
Then I should see "Signed in"
|
26
|
+
And I should be signed in
|
27
|
+
When I return next time
|
28
|
+
Then I should be signed in
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Feature: Sign out
|
2
|
+
|
3
|
+
In order to protect my account from unauthorized access
|
4
|
+
As a signed in user
|
5
|
+
I want to sign out
|
6
|
+
|
7
|
+
Scenario: User signs out
|
8
|
+
Given I am signed up as "email@person.com/password"
|
9
|
+
When I sign in as "email@person.com/password"
|
10
|
+
Then I should be signed in
|
11
|
+
And I sign out
|
12
|
+
Then I should see "Signed out"
|
13
|
+
And I should be signed out
|
14
|
+
When I return next time
|
15
|
+
Then I should be signed out
|
16
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Feature: Sign up
|
2
|
+
|
3
|
+
In order to get access to protected sections of the site
|
4
|
+
As a user
|
5
|
+
I want to sign up
|
6
|
+
|
7
|
+
Scenario: User signs up with invalid data
|
8
|
+
When I go to the sign up page
|
9
|
+
And I fill in "Email" with "invalidemail"
|
10
|
+
And I fill in "Password" with "password"
|
11
|
+
And I fill in "Confirm password" with ""
|
12
|
+
And I press "Sign up"
|
13
|
+
Then I should see error messages
|
14
|
+
|
15
|
+
Scenario: User signs up with valid data
|
16
|
+
When I go to the sign up page
|
17
|
+
And I fill in "Email" with "email@person.com"
|
18
|
+
And I fill in "Password" with "password"
|
19
|
+
And I fill in "Confirm password" with "password"
|
20
|
+
And I press "Sign up"
|
21
|
+
Then I should see "signed up"
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# General
|
2
|
+
|
3
|
+
Then /^I should see error messages$/ do
|
4
|
+
Then %{I should see "errors prohibited"}
|
5
|
+
end
|
6
|
+
|
7
|
+
Then /^I should see an error message$/ do
|
8
|
+
Then %{I should see "error prohibited"}
|
9
|
+
end
|
10
|
+
|
11
|
+
# Database
|
12
|
+
|
13
|
+
Given /^no user exists with an email of "(.*)"$/ do |email|
|
14
|
+
assert_nil User.find_by_email(email)
|
15
|
+
end
|
16
|
+
|
17
|
+
Given /^(?:I am|I have|I) signed up (?:as|with) "(.*)\/(.*)"$/ do |email, password|
|
18
|
+
Factory(:user,
|
19
|
+
:email => email,
|
20
|
+
:password => password,
|
21
|
+
:password_confirmation => password)
|
22
|
+
end
|
23
|
+
|
24
|
+
# Session
|
25
|
+
|
26
|
+
Then /^I should be signed in$/ do
|
27
|
+
Given %{I am on the homepage}
|
28
|
+
Then %{I should see "Sign out"}
|
29
|
+
end
|
30
|
+
|
31
|
+
Then /^I should be signed out$/ do
|
32
|
+
Given %{I am on the homepage}
|
33
|
+
Then %{I should see "Sign in"}
|
34
|
+
end
|
35
|
+
|
36
|
+
When /^session is cleared$/ do
|
37
|
+
# TODO: This doesn't work with Capybara
|
38
|
+
# TODO: I tried Capybara.reset_sessions! but that didn't work
|
39
|
+
#request.reset_session
|
40
|
+
#controller.instance_variable_set(:@_current_user, nil)
|
41
|
+
end
|
42
|
+
|
43
|
+
Given /^(?:I am|I have|I) signed in (?:with|as) "(.*)\/(.*)"$/ do |email, password|
|
44
|
+
Given %{I am signed up as "#{email}/#{password}"}
|
45
|
+
And %{I sign in as "#{email}/#{password}"}
|
46
|
+
end
|
47
|
+
|
48
|
+
Given /^I sign in$/ do
|
49
|
+
email = Factory.next(:email)
|
50
|
+
Given %{I have signed in with "#{email}/password"}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Emails
|
54
|
+
|
55
|
+
Then /^a password reset message should be sent to "(.*)"$/ do |email|
|
56
|
+
user = User.find_by_email(email)
|
57
|
+
assert !user.confirmation_token.blank?
|
58
|
+
assert !ActionMailer::Base.deliveries.empty?
|
59
|
+
result = ActionMailer::Base.deliveries.any? do |email|
|
60
|
+
email.to == [user.email] &&
|
61
|
+
email.subject =~ /password/i &&
|
62
|
+
email.body =~ /#{user.confirmation_token}/
|
63
|
+
end
|
64
|
+
assert result
|
65
|
+
end
|
66
|
+
|
67
|
+
When /^I follow the password reset link sent to "(.*)"$/ do |email|
|
68
|
+
user = User.find_by_email(email)
|
69
|
+
visit edit_user_password_path(:user_id => user,
|
70
|
+
:token => user.confirmation_token)
|
71
|
+
end
|
72
|
+
|
73
|
+
When /^I try to change the password of "(.*)" without token$/ do |email|
|
74
|
+
user = User.find_by_email(email)
|
75
|
+
visit edit_user_password_path(:user_id => user)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Actions
|
79
|
+
|
80
|
+
When /^I sign in as "(.*)\/(.*)"$/ do |email, password|
|
81
|
+
When %{I go to the sign in page}
|
82
|
+
And %{I fill in "Email" with "#{email}"}
|
83
|
+
And %{I fill in "Password" with "#{password}"}
|
84
|
+
And %{I press "Sign in"}
|
85
|
+
end
|
86
|
+
|
87
|
+
When "I sign out" do
|
88
|
+
steps %{
|
89
|
+
When I go to the homepage
|
90
|
+
And I follow "Sign out"
|
91
|
+
}
|
92
|
+
end
|
93
|
+
|
94
|
+
When /^I request password reset link to be sent to "(.*)"$/ do |email|
|
95
|
+
When %{I go to the password reset request page}
|
96
|
+
And %{I fill in "Email address" with "#{email}"}
|
97
|
+
And %{I press "Reset password"}
|
98
|
+
end
|
99
|
+
|
100
|
+
When /^I update my password with "(.*)\/(.*)"$/ do |password, confirmation|
|
101
|
+
And %{I fill in "Choose password" with "#{password}"}
|
102
|
+
And %{I fill in "Confirm password" with "#{confirmation}"}
|
103
|
+
And %{I press "Save this password"}
|
104
|
+
end
|
105
|
+
|
106
|
+
When /^I return next time$/ do
|
107
|
+
When %{session is cleared}
|
108
|
+
And %{I go to the homepage}
|
109
|
+
end
|
@@ -0,0 +1,536 @@
|
|
1
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
2
|
+
FROM sqlite_master
|
3
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
+
[0m
|
5
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
6
|
+
FROM sqlite_master
|
7
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
8
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
9
|
+
FROM sqlite_master
|
10
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
11
|
+
[0m
|
12
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
13
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
14
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
15
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
16
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
17
|
+
FROM sqlite_master
|
18
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
19
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
20
|
+
FROM sqlite_master
|
21
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
22
|
+
[0m
|
23
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
24
|
+
Migrating to ClearanceCreateUsers (20110116211807)
|
25
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
26
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
27
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
28
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
29
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
30
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
31
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110116211807')[0m
|
32
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
33
|
+
FROM sqlite_master
|
34
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
35
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
36
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
37
|
+
FROM sqlite_master
|
38
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
39
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
40
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
41
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
42
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
43
|
+
FROM sqlite_master
|
44
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
45
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
46
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
47
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
48
|
+
FROM sqlite_master
|
49
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
50
|
+
[0m
|
51
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
52
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
53
|
+
[1m[35mSQL (1.2ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
54
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
55
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
56
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
57
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
58
|
+
FROM sqlite_master
|
59
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
60
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
61
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
62
|
+
[1m[36mSQL (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
63
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
64
|
+
FROM sqlite_master
|
65
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
66
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
67
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110116211807')
|
68
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
69
|
+
FROM sqlite_master
|
70
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
71
|
+
[0m
|
72
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
73
|
+
FROM sqlite_master
|
74
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
75
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
76
|
+
FROM sqlite_master
|
77
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
78
|
+
[0m
|
79
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
80
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
81
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
82
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
83
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
84
|
+
FROM sqlite_master
|
85
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
86
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
87
|
+
FROM sqlite_master
|
88
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
89
|
+
[0m
|
90
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
91
|
+
Migrating to ClearanceCreateUsers (20110116212113)
|
92
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
93
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
94
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
95
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
96
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
97
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
98
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110116212113')[0m
|
99
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
100
|
+
FROM sqlite_master
|
101
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
102
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
103
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
104
|
+
FROM sqlite_master
|
105
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
106
|
+
[1m[36mSQL (0.7ms)[0m [1mPRAGMA index_list("users")[0m
|
107
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
108
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
109
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
110
|
+
FROM sqlite_master
|
111
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
112
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
113
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
114
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
115
|
+
FROM sqlite_master
|
116
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
117
|
+
[0m
|
118
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
119
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
120
|
+
[1m[35mSQL (1.3ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
121
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
122
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
123
|
+
[1m[36mSQL (1.4ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
124
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
125
|
+
FROM sqlite_master
|
126
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
127
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
128
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
129
|
+
[1m[36mSQL (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
130
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
131
|
+
FROM sqlite_master
|
132
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
133
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
134
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110116212113')
|
135
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
136
|
+
FROM sqlite_master
|
137
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
138
|
+
[0m
|
139
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
140
|
+
FROM sqlite_master
|
141
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
142
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
143
|
+
FROM sqlite_master
|
144
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
145
|
+
[0m
|
146
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
147
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
148
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
149
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
150
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
151
|
+
FROM sqlite_master
|
152
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
153
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
154
|
+
FROM sqlite_master
|
155
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
156
|
+
[0m
|
157
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
158
|
+
Migrating to ClearanceCreateUsers (20110119235452)
|
159
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
160
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
161
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
162
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
163
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
164
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
165
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110119235452')[0m
|
166
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
167
|
+
FROM sqlite_master
|
168
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
169
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
170
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
171
|
+
FROM sqlite_master
|
172
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
173
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
174
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
175
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
176
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
177
|
+
FROM sqlite_master
|
178
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
179
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
180
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
181
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
182
|
+
FROM sqlite_master
|
183
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
184
|
+
[0m
|
185
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
186
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
187
|
+
[1m[35mSQL (1.2ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
188
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
189
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
190
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
191
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
192
|
+
FROM sqlite_master
|
193
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
194
|
+
[1m[36mSQL (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
195
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
196
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
197
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
198
|
+
FROM sqlite_master
|
199
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
200
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
201
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110119235452')
|
202
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
203
|
+
FROM sqlite_master
|
204
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
205
|
+
[0m
|
206
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
207
|
+
FROM sqlite_master
|
208
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
209
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
210
|
+
FROM sqlite_master
|
211
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
212
|
+
[0m
|
213
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
214
|
+
[1m[36mSQL (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
215
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
216
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
217
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
218
|
+
FROM sqlite_master
|
219
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
220
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
221
|
+
FROM sqlite_master
|
222
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
223
|
+
[0m
|
224
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
225
|
+
Migrating to ClearanceCreateUsers (20110119235720)
|
226
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
227
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
228
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
229
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
230
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
231
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
232
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110119235720')[0m
|
233
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
234
|
+
FROM sqlite_master
|
235
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
236
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
237
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
238
|
+
FROM sqlite_master
|
239
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
240
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
241
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
242
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
243
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
244
|
+
FROM sqlite_master
|
245
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
246
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
247
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
248
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
249
|
+
FROM sqlite_master
|
250
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
251
|
+
[0m
|
252
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
253
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
254
|
+
[1m[35mSQL (1.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
255
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
256
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
257
|
+
[1m[36mSQL (1.0ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
258
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
259
|
+
FROM sqlite_master
|
260
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
261
|
+
[1m[36mSQL (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
262
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
263
|
+
[1m[36mSQL (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
264
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
265
|
+
FROM sqlite_master
|
266
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
267
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
268
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110119235720')
|
269
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
270
|
+
FROM sqlite_master
|
271
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
272
|
+
[0m
|
273
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
274
|
+
FROM sqlite_master
|
275
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
276
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
277
|
+
FROM sqlite_master
|
278
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
279
|
+
[0m
|
280
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
281
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
282
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
283
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
284
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
285
|
+
FROM sqlite_master
|
286
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
287
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
288
|
+
FROM sqlite_master
|
289
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
290
|
+
[0m
|
291
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
292
|
+
Migrating to ClearanceCreateUsers (20110123010825)
|
293
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
294
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
295
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
296
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
297
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
298
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
299
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110123010825')[0m
|
300
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
301
|
+
FROM sqlite_master
|
302
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
303
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
304
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
305
|
+
FROM sqlite_master
|
306
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
307
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
308
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
309
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
310
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
311
|
+
FROM sqlite_master
|
312
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
313
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
314
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
315
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
316
|
+
FROM sqlite_master
|
317
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
318
|
+
[0m
|
319
|
+
[1m[35mSQL (2.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
320
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
321
|
+
[1m[35mSQL (1.2ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
322
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
323
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
324
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
325
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
326
|
+
FROM sqlite_master
|
327
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
328
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
329
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
330
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
331
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
332
|
+
FROM sqlite_master
|
333
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
334
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
335
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110123010825')
|
336
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
337
|
+
FROM sqlite_master
|
338
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
339
|
+
[0m
|
340
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
341
|
+
FROM sqlite_master
|
342
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
343
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
344
|
+
FROM sqlite_master
|
345
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
346
|
+
[0m
|
347
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
348
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
349
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
350
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
351
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
352
|
+
FROM sqlite_master
|
353
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
354
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
355
|
+
FROM sqlite_master
|
356
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
357
|
+
[0m
|
358
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
359
|
+
Migrating to ClearanceCreateUsers (20110123013407)
|
360
|
+
[1m[36mSQL (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
361
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
362
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
363
|
+
[1m[35mSQL (0.2ms)[0m PRAGMA index_list("users")
|
364
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
365
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
366
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110123013407')[0m
|
367
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
368
|
+
FROM sqlite_master
|
369
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
370
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
371
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
372
|
+
FROM sqlite_master
|
373
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
374
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
375
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
376
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
377
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
378
|
+
FROM sqlite_master
|
379
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
380
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
381
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
382
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
383
|
+
FROM sqlite_master
|
384
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
385
|
+
[0m
|
386
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
387
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
388
|
+
[1m[35mSQL (1.2ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
389
|
+
[1m[36mSQL (0.2ms)[0m [1mPRAGMA index_list("users")[0m
|
390
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
391
|
+
[1m[36mSQL (1.4ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
392
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
393
|
+
FROM sqlite_master
|
394
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
395
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
396
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
397
|
+
[1m[36mSQL (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
398
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
399
|
+
FROM sqlite_master
|
400
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
401
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
402
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110123013407')
|
403
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
404
|
+
FROM sqlite_master
|
405
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
406
|
+
[0m
|
407
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
408
|
+
FROM sqlite_master
|
409
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
410
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
411
|
+
FROM sqlite_master
|
412
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
413
|
+
[0m
|
414
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
415
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
416
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
417
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
418
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
419
|
+
FROM sqlite_master
|
420
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
421
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
422
|
+
FROM sqlite_master
|
423
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
424
|
+
[0m
|
425
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
426
|
+
Migrating to ClearanceCreateUsers (20110127145532)
|
427
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
428
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
429
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
430
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
431
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
432
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110127145532')[0m
|
434
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
435
|
+
FROM sqlite_master
|
436
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
437
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
438
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
439
|
+
FROM sqlite_master
|
440
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
441
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
442
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
443
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
444
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
445
|
+
FROM sqlite_master
|
446
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
447
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
448
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
449
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
450
|
+
FROM sqlite_master
|
451
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
452
|
+
[0m
|
453
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
454
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
455
|
+
[1m[35mSQL (1.2ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
456
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
457
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
458
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
459
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
460
|
+
FROM sqlite_master
|
461
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
462
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
463
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
464
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
465
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
466
|
+
FROM sqlite_master
|
467
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
468
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
469
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110127145532')
|
470
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
471
|
+
FROM sqlite_master
|
472
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
473
|
+
[0m
|
474
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
475
|
+
FROM sqlite_master
|
476
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
477
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
478
|
+
FROM sqlite_master
|
479
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
480
|
+
[0m
|
481
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
482
|
+
[1m[36mSQL (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
483
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
484
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
485
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
486
|
+
FROM sqlite_master
|
487
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
488
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
489
|
+
FROM sqlite_master
|
490
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
491
|
+
[0m
|
492
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
493
|
+
Migrating to ClearanceCreateUsers (20110209234521)
|
494
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime) [0m
|
495
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
496
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
497
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
498
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
499
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
500
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110209234521')[0m
|
501
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
502
|
+
FROM sqlite_master
|
503
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
504
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
505
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
506
|
+
FROM sqlite_master
|
507
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
508
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
509
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_remember_token')
|
510
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
511
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
512
|
+
FROM sqlite_master
|
513
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
514
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
515
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
516
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
517
|
+
FROM sqlite_master
|
518
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
519
|
+
[0m
|
520
|
+
[1m[35mSQL (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(128), "salt" varchar(128), "confirmation_token" varchar(128), "remember_token" varchar(128), "created_at" datetime, "updated_at" datetime)
|
521
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
522
|
+
[1m[35mSQL (1.5ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
523
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
524
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
525
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")[0m
|
526
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
527
|
+
FROM sqlite_master
|
528
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
529
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
530
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
531
|
+
[1m[36mSQL (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
532
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
533
|
+
FROM sqlite_master
|
534
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
535
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
536
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110209234521')
|