pollett 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +81 -0
  4. data/Rakefile +25 -0
  5. data/app/controllers/concerns/pollett/controller.rb +37 -0
  6. data/app/controllers/pollett/application_controller.rb +4 -0
  7. data/app/controllers/pollett/keys_controller.rb +5 -0
  8. data/app/controllers/pollett/sessions_controller.rb +5 -0
  9. data/app/controllers/pollett/users_controller.rb +5 -0
  10. data/app/mailers/pollett/mailer.rb +5 -0
  11. data/app/models/concerns/pollett/user.rb +40 -0
  12. data/app/models/pollett/context.rb +5 -0
  13. data/app/models/pollett/key.rb +5 -0
  14. data/app/models/pollett/session.rb +5 -0
  15. data/app/serializers/pollett/key_serializer.rb +5 -0
  16. data/app/serializers/pollett/session_serializer.rb +5 -0
  17. data/app/serializers/user_serializer.rb +3 -0
  18. data/app/services/pollett/authenticate_user.rb +5 -0
  19. data/app/services/pollett/change_password.rb +5 -0
  20. data/app/services/pollett/create_session.rb +5 -0
  21. data/app/services/pollett/register_user.rb +5 -0
  22. data/app/services/pollett/reset_password.rb +5 -0
  23. data/app/views/pollett/mailer/reset.text.erb +5 -0
  24. data/app/views/pollett/mailer/welcome.text.erb +1 -0
  25. data/config/locales/en.yml +14 -0
  26. data/config/routes.rb +11 -0
  27. data/db/migrate/20150226024506_create_pollett_contexts.rb +21 -0
  28. data/lib/generators/pollett/install/install_generator.rb +123 -0
  29. data/lib/generators/pollett/install/templates/db/migrate/add_pollett_to_users.rb +21 -0
  30. data/lib/generators/pollett/install/templates/db/migrate/create_users.rb +15 -0
  31. data/lib/generators/pollett/install/templates/initializer.rb +3 -0
  32. data/lib/generators/pollett/install/templates/user.rb +3 -0
  33. data/lib/pollett.rb +20 -0
  34. data/lib/pollett/concerns.rb +5 -0
  35. data/lib/pollett/concerns/controllers.rb +3 -0
  36. data/lib/pollett/concerns/controllers/keys_controller.rb +37 -0
  37. data/lib/pollett/concerns/controllers/sessions_controller.rb +43 -0
  38. data/lib/pollett/concerns/controllers/users_controller.rb +28 -0
  39. data/lib/pollett/concerns/mailers.rb +1 -0
  40. data/lib/pollett/concerns/mailers/mailer.rb +24 -0
  41. data/lib/pollett/concerns/models.rb +3 -0
  42. data/lib/pollett/concerns/models/context.rb +42 -0
  43. data/lib/pollett/concerns/models/key.rb +13 -0
  44. data/lib/pollett/concerns/models/session.rb +20 -0
  45. data/lib/pollett/concerns/serializers.rb +2 -0
  46. data/lib/pollett/concerns/serializers/context_serializer.rb +21 -0
  47. data/lib/pollett/concerns/serializers/user_serializer.rb +16 -0
  48. data/lib/pollett/concerns/services.rb +5 -0
  49. data/lib/pollett/concerns/services/authenticate_user.rb +21 -0
  50. data/lib/pollett/concerns/services/change_password.rb +21 -0
  51. data/lib/pollett/concerns/services/create_session.rb +27 -0
  52. data/lib/pollett/concerns/services/register_user.rb +29 -0
  53. data/lib/pollett/concerns/services/reset_password.rb +27 -0
  54. data/lib/pollett/configuration.rb +34 -0
  55. data/lib/pollett/engine.rb +12 -0
  56. data/lib/pollett/rspec.rb +6 -0
  57. data/lib/pollett/testing/request_helper.rb +106 -0
  58. data/lib/pollett/version.rb +3 -0
  59. data/spec/dummy/README.rdoc +28 -0
  60. data/spec/dummy/Rakefile +6 -0
  61. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  62. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  63. data/spec/dummy/app/controllers/application_controller.rb +12 -0
  64. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  65. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  66. data/spec/dummy/app/models/user.rb +3 -0
  67. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  68. data/spec/dummy/app/views/layouts/mailer.text.erb +6 -0
  69. data/spec/dummy/bin/bundle +3 -0
  70. data/spec/dummy/bin/rails +4 -0
  71. data/spec/dummy/bin/rake +4 -0
  72. data/spec/dummy/bin/setup +29 -0
  73. data/spec/dummy/config.ru +4 -0
  74. data/spec/dummy/config/application.rb +32 -0
  75. data/spec/dummy/config/boot.rb +5 -0
  76. data/spec/dummy/config/database.yml +85 -0
  77. data/spec/dummy/config/environment.rb +5 -0
  78. data/spec/dummy/config/environments/development.rb +41 -0
  79. data/spec/dummy/config/environments/production.rb +79 -0
  80. data/spec/dummy/config/environments/test.rb +42 -0
  81. data/spec/dummy/config/initializers/active_model_serializers.rb +1 -0
  82. data/spec/dummy/config/initializers/assets.rb +11 -0
  83. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  84. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  85. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  86. data/spec/dummy/config/initializers/inflections.rb +16 -0
  87. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  88. data/spec/dummy/config/initializers/session_store.rb +3 -0
  89. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  90. data/spec/dummy/config/locales/en.yml +23 -0
  91. data/spec/dummy/config/routes.rb +3 -0
  92. data/spec/dummy/config/secrets.yml +22 -0
  93. data/spec/dummy/db/migrate/20150226030314_enable_uuid_extension.rb +5 -0
  94. data/spec/dummy/db/migrate/20150226030315_create_users.rb +15 -0
  95. data/spec/dummy/db/migrate/20150226030316_create_pollett_contexts.pollett.rb +22 -0
  96. data/spec/dummy/db/schema.rb +49 -0
  97. data/spec/dummy/log/development.log +1315 -0
  98. data/spec/dummy/log/test.log +181283 -0
  99. data/spec/dummy/public/404.html +67 -0
  100. data/spec/dummy/public/422.html +67 -0
  101. data/spec/dummy/public/500.html +66 -0
  102. data/spec/dummy/public/favicon.ico +0 -0
  103. data/spec/factories/pollett_context.rb +5 -0
  104. data/spec/factories/pollett_key.rb +5 -0
  105. data/spec/factories/pollett_session.rb +5 -0
  106. data/spec/factories/user.rb +7 -0
  107. data/spec/mailers/pollett/mailer_spec.rb +73 -0
  108. data/spec/rails_helper.rb +19 -0
  109. data/spec/requests/keys_spec.rb +67 -0
  110. data/spec/requests/sessions_spec.rb +176 -0
  111. data/spec/requests/user_spec.rb +41 -0
  112. data/spec/spec_helper.rb +9 -0
  113. data/spec/support/email_helper.rb +9 -0
  114. metadata +323 -0
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,41 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send.
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger.
20
+ config.active_support.deprecation = :log
21
+
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
+
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
28
+ config.assets.debug = true
29
+
30
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
31
+ # yet still be able to expire them through the digest params.
32
+ config.assets.digest = true
33
+
34
+ # Adds additional error checking when serving assets at runtime.
35
+ # Checks for improperly declared sprockets dependencies.
36
+ # Raises helpful error messages.
37
+ config.assets.raise_runtime_errors = true
38
+
39
+ # Raises error for missing translations
40
+ # config.action_view.raise_on_missing_translations = true
41
+ end
@@ -0,0 +1,79 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+ # Compress JavaScripts and CSS.
28
+ config.assets.js_compressor = :uglifier
29
+ # config.assets.css_compressor = :sass
30
+
31
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
32
+ config.assets.compile = false
33
+
34
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
+ # yet still be able to expire them through the digest params.
36
+ config.assets.digest = true
37
+
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
+
40
+ # Specifies the header that your server uses for sending files.
41
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
+
44
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
+ # config.force_ssl = true
46
+
47
+ # Use the lowest log level to ensure availability of diagnostic information
48
+ # when problems arise.
49
+ config.log_level = :debug
50
+
51
+ # Prepend all log lines with the following tags.
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
+
57
+ # Use a different cache store in production.
58
+ # config.cache_store = :mem_cache_store
59
+
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
62
+
63
+ # Ignore bad email addresses and do not raise email delivery errors.
64
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
+ # config.action_mailer.raise_delivery_errors = false
66
+
67
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
+ # the I18n.default_locale when a translation cannot be found).
69
+ config.i18n.fallbacks = true
70
+
71
+ # Send deprecation notices to registered listeners.
72
+ config.active_support.deprecation = :notify
73
+
74
+ # Use default logging formatter so that PID and timestamp are not suppressed.
75
+ config.log_formatter = ::Logger::Formatter.new
76
+
77
+ # Do not dump schema after migrations.
78
+ config.active_record.dump_schema_after_migration = false
79
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1 @@
1
+ ActiveModel::Serializer.config.adapter = :json_api
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ mount Pollett::Engine => "/"
3
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: c61e615950d25db2c8b70015917779faba52e3a4995da5522a35d0fd11b854fad032a8cbe77a9224ab5c7c89634e9a9c9c2a67f18ee15f4240f39f09dac32040
15
+
16
+ test:
17
+ secret_key_base: f4d70e8642ed0e6441c5c630a52b7d15586a6783a7baa5b175b06e8b5c05034cedbc41a5b807290b744f1358d319f7e256d7b660f627daf1e7bef79c4565c5af
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,5 @@
1
+ class EnableUuidExtension < ActiveRecord::Migration
2
+ def change
3
+ enable_extension "uuid-ossp"
4
+ end
5
+ end
@@ -0,0 +1,15 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users, id: :uuid do |t|
4
+ t.string :name, null: false
5
+ t.string :email, null: false
6
+ t.string :password_digest, null: false
7
+ t.string :reset_token
8
+
9
+ t.timestamps null: false
10
+ end
11
+
12
+ add_index :users, :email, unique: true
13
+ add_index :users, :reset_token, unique: true
14
+ end
15
+ end
@@ -0,0 +1,22 @@
1
+ # This migration comes from pollett (originally 20150226024506)
2
+ class CreatePollettContexts < ActiveRecord::Migration
3
+ def change
4
+ create_table :pollett_contexts, id: :uuid do |t|
5
+ t.string :type, null: false
6
+ t.uuid :user_id, null: false
7
+ t.string :client, null: false
8
+ t.datetime :revoked_at
9
+ t.datetime :accessed_at
10
+ t.string :ip
11
+ t.string :user_agent
12
+
13
+ t.timestamps null: false
14
+ end
15
+
16
+ add_foreign_key :pollett_contexts, :users, on_delete: :cascade
17
+
18
+ add_index :pollett_contexts, :user_id
19
+ add_index :pollett_contexts, :accessed_at
20
+ add_index :pollett_contexts, :revoked_at
21
+ end
22
+ end
@@ -0,0 +1,49 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20150226030316) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+ enable_extension "uuid-ossp"
19
+
20
+ create_table "pollett_contexts", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
21
+ t.string "type", null: false
22
+ t.uuid "user_id", null: false
23
+ t.string "client", null: false
24
+ t.datetime "revoked_at"
25
+ t.datetime "accessed_at"
26
+ t.string "ip"
27
+ t.string "user_agent"
28
+ t.datetime "created_at", null: false
29
+ t.datetime "updated_at", null: false
30
+ end
31
+
32
+ add_index "pollett_contexts", ["accessed_at"], name: "index_pollett_contexts_on_accessed_at", using: :btree
33
+ add_index "pollett_contexts", ["revoked_at"], name: "index_pollett_contexts_on_revoked_at", using: :btree
34
+ add_index "pollett_contexts", ["user_id"], name: "index_pollett_contexts_on_user_id", using: :btree
35
+
36
+ create_table "users", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
37
+ t.string "name", null: false
38
+ t.string "email", null: false
39
+ t.string "password_digest", null: false
40
+ t.string "reset_token"
41
+ t.datetime "created_at", null: false
42
+ t.datetime "updated_at", null: false
43
+ end
44
+
45
+ add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
46
+ add_index "users", ["reset_token"], name: "index_users_on_reset_token", unique: true, using: :btree
47
+
48
+ add_foreign_key "pollett_contexts", "users", on_delete: :cascade
49
+ end
@@ -0,0 +1,1315 @@
1
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.5ms) select sqlite_version(*)
3
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateUsers (20150205224456)
6
+  (0.1ms) begin transaction
7
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "reset_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
9
+  (0.1ms) SELECT sql
10
+ FROM sqlite_master
11
+ WHERE name='index_users_on_email' AND type='index'
12
+ UNION ALL
13
+ SELECT sql
14
+ FROM sqlite_temp_master
15
+ WHERE name='index_users_on_email' AND type='index'
16
+
17
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
18
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150205224456"]]
19
+  (1.2ms) commit transaction
20
+ Migrating to CreatePollettSessions (20150210204911)
21
+  (0.1ms) begin transaction
22
+  (0.4ms) CREATE TABLE "pollett_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "token" varchar NOT NULL, "revoked_at" datetime, "accessed_at" datetime, "ip" varchar, "user_agent" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23
+  (0.1ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
24
+  (0.1ms)  SELECT sql
25
+ FROM sqlite_master
26
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
27
+ UNION ALL
28
+ SELECT sql
29
+ FROM sqlite_temp_master
30
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
31
+ 
32
+  (0.3ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
33
+  (0.1ms)  SELECT sql
34
+ FROM sqlite_master
35
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
36
+ UNION ALL
37
+ SELECT sql
38
+ FROM sqlite_temp_master
39
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
40
+ 
41
+  (0.1ms) SELECT sql
42
+ FROM sqlite_master
43
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
44
+ UNION ALL
45
+ SELECT sql
46
+ FROM sqlite_temp_master
47
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
48
+
49
+  (0.1ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
50
+  (0.1ms) SELECT sql
51
+ FROM sqlite_master
52
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
53
+ UNION ALL
54
+ SELECT sql
55
+ FROM sqlite_temp_master
56
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
57
+
58
+  (0.1ms)  SELECT sql
59
+ FROM sqlite_master
60
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
61
+ UNION ALL
62
+ SELECT sql
63
+ FROM sqlite_temp_master
64
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
65
+ 
66
+  (0.1ms) SELECT sql
67
+ FROM sqlite_master
68
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
69
+ UNION ALL
70
+ SELECT sql
71
+ FROM sqlite_temp_master
72
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
73
+
74
+  (0.1ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
75
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150210204911"]]
76
+  (1.1ms) commit transaction
77
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
78
+  (0.1ms)  SELECT sql
79
+ FROM sqlite_master
80
+ WHERE name='index_pollett_sessions_on_revoked_at' AND type='index'
81
+ UNION ALL
82
+ SELECT sql
83
+ FROM sqlite_temp_master
84
+ WHERE name='index_pollett_sessions_on_revoked_at' AND type='index'
85
+ 
86
+  (0.1ms) SELECT sql
87
+ FROM sqlite_master
88
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
89
+ UNION ALL
90
+ SELECT sql
91
+ FROM sqlite_temp_master
92
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
93
+
94
+  (0.1ms)  SELECT sql
95
+ FROM sqlite_master
96
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
97
+ UNION ALL
98
+ SELECT sql
99
+ FROM sqlite_temp_master
100
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
101
+ 
102
+  (0.1ms) SELECT sql
103
+ FROM sqlite_master
104
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
105
+ UNION ALL
106
+ SELECT sql
107
+ FROM sqlite_temp_master
108
+ WHERE name='index_pollett_sessions_on_user_id' AND type='index'
109
+
110
+  (0.1ms)  SELECT sql
111
+ FROM sqlite_master
112
+ WHERE name='index_users_on_reset_token' AND type='index'
113
+ UNION ALL
114
+ SELECT sql
115
+ FROM sqlite_temp_master
116
+ WHERE name='index_users_on_reset_token' AND type='index'
117
+ 
118
+  (0.1ms) SELECT sql
119
+ FROM sqlite_master
120
+ WHERE name='index_users_on_email' AND type='index'
121
+ UNION ALL
122
+ SELECT sql
123
+ FROM sqlite_temp_master
124
+ WHERE name='index_users_on_email' AND type='index'
125
+
126
+  (0.9ms) CREATE TABLE "pollett_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "token" varchar NOT NULL, "revoked_at" datetime, "accessed_at" datetime, "ip" varchar, "user_agent" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
127
+  (0.1ms) select sqlite_version(*)
128
+  (0.7ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
129
+  (0.1ms) SELECT sql
130
+ FROM sqlite_master
131
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
132
+ UNION ALL
133
+ SELECT sql
134
+ FROM sqlite_temp_master
135
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
136
+
137
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
138
+  (0.1ms) SELECT sql
139
+ FROM sqlite_master
140
+ WHERE name='index_pollett_sessions_on_revoked_at' AND type='index'
141
+ UNION ALL
142
+ SELECT sql
143
+ FROM sqlite_temp_master
144
+ WHERE name='index_pollett_sessions_on_revoked_at' AND type='index'
145
+
146
+  (0.1ms)  SELECT sql
147
+ FROM sqlite_master
148
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
149
+ UNION ALL
150
+ SELECT sql
151
+ FROM sqlite_temp_master
152
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
153
+ 
154
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
155
+  (0.1ms)  SELECT sql
156
+ FROM sqlite_master
157
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
158
+ UNION ALL
159
+ SELECT sql
160
+ FROM sqlite_temp_master
161
+ WHERE name='index_pollett_sessions_on_token' AND type='index'
162
+ 
163
+  (0.1ms) SELECT sql
164
+ FROM sqlite_master
165
+ WHERE name='index_pollett_sessions_on_revoked_at' AND type='index'
166
+ UNION ALL
167
+ SELECT sql
168
+ FROM sqlite_temp_master
169
+ WHERE name='index_pollett_sessions_on_revoked_at' AND type='index'
170
+
171
+  (0.1ms)  SELECT sql
172
+ FROM sqlite_master
173
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
174
+ UNION ALL
175
+ SELECT sql
176
+ FROM sqlite_temp_master
177
+ WHERE name='index_pollett_sessions_on_accessed_at' AND type='index'
178
+ 
179
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
180
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "reset_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
181
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
182
+  (0.1ms)  SELECT sql
183
+ FROM sqlite_master
184
+ WHERE name='index_users_on_email' AND type='index'
185
+ UNION ALL
186
+ SELECT sql
187
+ FROM sqlite_temp_master
188
+ WHERE name='index_users_on_email' AND type='index'
189
+ 
190
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
191
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
192
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
193
+  (0.1ms) SELECT version FROM "schema_migrations"
194
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150210204911')
195
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150205224456')
196
+  (102.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
197
+  (17.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
198
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
199
+ Migrating to EnableUuidExtension (20150226030315)
200
+  (0.2ms) BEGIN
201
+ SQL (69.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
202
+ SQL (17.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
203
+  (6.1ms) COMMIT
204
+ Migrating to CreatePollettSessions (20150226030316)
205
+  (0.2ms) BEGIN
206
+  (36.8ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
207
+  (3.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
208
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
209
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
210
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
211
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
212
+  (2.2ms) COMMIT
213
+ Migrating to CreateUsers (20150226030317)
214
+  (0.2ms) BEGIN
215
+  (24.8ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
216
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
217
+  (3.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
218
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030317"]]
219
+  (0.5ms) COMMIT
220
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
221
+  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
222
+ FROM pg_constraint c
223
+ JOIN pg_class t1 ON c.conrelid = t1.oid
224
+ JOIN pg_class t2 ON c.confrelid = t2.oid
225
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
226
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
227
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
228
+ WHERE c.contype = 'f'
229
+ AND t1.relname = 'pollett_sessions'
230
+ AND t3.nspname = ANY (current_schemas(false))
231
+ ORDER BY c.conname
232
+ 
233
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
234
+ FROM pg_constraint c
235
+ JOIN pg_class t1 ON c.conrelid = t1.oid
236
+ JOIN pg_class t2 ON c.confrelid = t2.oid
237
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
238
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
239
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
240
+ WHERE c.contype = 'f'
241
+ AND t1.relname = 'users'
242
+ AND t3.nspname = ANY (current_schemas(false))
243
+ ORDER BY c.conname
244
+
245
+  (145.6ms) DROP DATABASE IF EXISTS "dummy_test"
246
+  (384.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
247
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
248
+ SQL (12.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
249
+  (14.1ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
250
+  (1.3ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
251
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
252
+  (3.0ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
253
+  (1.3ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
254
+  (2.5ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
255
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
256
+  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
257
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
258
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
259
+  (0.3ms) SELECT version FROM "schema_migrations"
260
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030317')
261
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
262
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
263
+  (38.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
264
+  (12.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
265
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
266
+ Migrating to EnableUuidExtension (20150226030315)
267
+  (0.1ms) BEGIN
268
+ SQL (50.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
269
+ SQL (19.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
270
+  (0.6ms) COMMIT
271
+ Migrating to CreatePollettSessions (20150226030316)
272
+  (0.1ms) BEGIN
273
+  (37.8ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
274
+  (4.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
275
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
276
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
277
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
278
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
279
+  (0.5ms) COMMIT
280
+ Migrating to CreateUsers (20150226030317)
281
+  (0.1ms) BEGIN
282
+  (25.1ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
283
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
284
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
285
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030317"]]
286
+  (2.2ms) COMMIT
287
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
288
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
289
+ FROM pg_constraint c
290
+ JOIN pg_class t1 ON c.conrelid = t1.oid
291
+ JOIN pg_class t2 ON c.confrelid = t2.oid
292
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
293
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
294
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
295
+ WHERE c.contype = 'f'
296
+ AND t1.relname = 'pollett_sessions'
297
+ AND t3.nspname = ANY (current_schemas(false))
298
+ ORDER BY c.conname
299
+ 
300
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
301
+ FROM pg_constraint c
302
+ JOIN pg_class t1 ON c.conrelid = t1.oid
303
+ JOIN pg_class t2 ON c.confrelid = t2.oid
304
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
305
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
306
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
307
+ WHERE c.contype = 'f'
308
+ AND t1.relname = 'users'
309
+ AND t3.nspname = ANY (current_schemas(false))
310
+ ORDER BY c.conname
311
+
312
+  (118.2ms) DROP DATABASE IF EXISTS "dummy_test"
313
+  (247.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
314
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
315
+ SQL (15.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
316
+  (18.6ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
317
+  (4.7ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
318
+  (1.2ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
319
+  (1.4ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
320
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
321
+  (9.6ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
322
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
323
+  (3.2ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
324
+  (5.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
325
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
326
+  (0.3ms) SELECT version FROM "schema_migrations"
327
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030317')
328
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
329
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
330
+  (37.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
331
+  (12.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
332
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
333
+ Migrating to EnableUuidExtension (20150226030315)
334
+  (0.2ms) BEGIN
335
+ SQL (35.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
336
+ SQL (6.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
337
+  (11.2ms) COMMIT
338
+ Migrating to CreatePollettSessions (20150226030316)
339
+  (0.1ms) BEGIN
340
+  (29.1ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
341
+  (0.8ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
342
+  (0.8ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
343
+  (4.7ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
344
+  (0.8ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
345
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
346
+  (2.3ms) COMMIT
347
+ Migrating to CreateUsers (20150226030317)
348
+  (0.3ms) BEGIN
349
+  (26.8ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
350
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
351
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
352
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030317"]]
353
+  (0.4ms) COMMIT
354
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
355
+  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
356
+ FROM pg_constraint c
357
+ JOIN pg_class t1 ON c.conrelid = t1.oid
358
+ JOIN pg_class t2 ON c.confrelid = t2.oid
359
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
360
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
361
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
362
+ WHERE c.contype = 'f'
363
+ AND t1.relname = 'pollett_sessions'
364
+ AND t3.nspname = ANY (current_schemas(false))
365
+ ORDER BY c.conname
366
+ 
367
+  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
368
+ FROM pg_constraint c
369
+ JOIN pg_class t1 ON c.conrelid = t1.oid
370
+ JOIN pg_class t2 ON c.confrelid = t2.oid
371
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
372
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
373
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
374
+ WHERE c.contype = 'f'
375
+ AND t1.relname = 'users'
376
+ AND t3.nspname = ANY (current_schemas(false))
377
+ ORDER BY c.conname
378
+
379
+  (124.5ms) DROP DATABASE IF EXISTS "dummy_test"
380
+  (270.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
381
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
382
+ SQL (17.2ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
383
+  (23.5ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
384
+  (4.2ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
385
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
386
+  (1.1ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
387
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
388
+  (5.3ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
389
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
390
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
391
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
392
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
393
+  (0.3ms) SELECT version FROM "schema_migrations"
394
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030317')
395
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
396
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
397
+  (49.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
398
+  (17.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
399
+ ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
400
+ Migrating to EnableUuidExtension (20150226030315)
401
+  (0.1ms) BEGIN
402
+ SQL (75.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
403
+ SQL (6.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
404
+  (12.1ms) COMMIT
405
+ Migrating to CreatePollettSessions (20150226030316)
406
+  (0.3ms) BEGIN
407
+  (29.8ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
408
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
409
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
410
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
411
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
412
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
413
+  (2.1ms) COMMIT
414
+ Migrating to CreateUsers (20150226030317)
415
+  (0.1ms) BEGIN
416
+  (14.0ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
417
+  (7.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
418
+  (1.7ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
419
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030317"]]
420
+  (0.5ms) COMMIT
421
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
422
+  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
423
+ FROM pg_constraint c
424
+ JOIN pg_class t1 ON c.conrelid = t1.oid
425
+ JOIN pg_class t2 ON c.confrelid = t2.oid
426
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
427
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
428
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
429
+ WHERE c.contype = 'f'
430
+ AND t1.relname = 'pollett_sessions'
431
+ AND t3.nspname = ANY (current_schemas(false))
432
+ ORDER BY c.conname
433
+ 
434
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
435
+ FROM pg_constraint c
436
+ JOIN pg_class t1 ON c.conrelid = t1.oid
437
+ JOIN pg_class t2 ON c.confrelid = t2.oid
438
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
439
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
440
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
441
+ WHERE c.contype = 'f'
442
+ AND t1.relname = 'users'
443
+ AND t3.nspname = ANY (current_schemas(false))
444
+ ORDER BY c.conname
445
+
446
+  (118.3ms) DROP DATABASE IF EXISTS "dummy_test"
447
+  (282.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
448
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
449
+ SQL (14.1ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
450
+  (21.7ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
451
+  (1.3ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
452
+  (1.3ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
453
+  (1.4ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
454
+  (3.8ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
455
+  (5.1ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
456
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
457
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
458
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
459
+  (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
460
+  (0.3ms) SELECT version FROM "schema_migrations"
461
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030317')
462
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
463
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
464
+  (29.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
465
+  (13.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
466
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
467
+ Migrating to EnableUuidExtension (20150226030315)
468
+  (0.1ms) BEGIN
469
+ SQL (26.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
470
+ SQL (6.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
471
+  (11.1ms) COMMIT
472
+ Migrating to CreatePollettSessions (20150226030316)
473
+  (0.2ms) BEGIN
474
+  (28.1ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
475
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
476
+  (0.7ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
477
+  (1.4ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
478
+  (0.8ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
479
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
480
+  (0.5ms) COMMIT
481
+ Migrating to CreateUsers (20150226030317)
482
+  (0.1ms) BEGIN
483
+  (13.7ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
484
+  (33.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
485
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
486
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030317"]]
487
+  (0.4ms) COMMIT
488
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
489
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
490
+ FROM pg_constraint c
491
+ JOIN pg_class t1 ON c.conrelid = t1.oid
492
+ JOIN pg_class t2 ON c.confrelid = t2.oid
493
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
494
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
495
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
496
+ WHERE c.contype = 'f'
497
+ AND t1.relname = 'pollett_sessions'
498
+ AND t3.nspname = ANY (current_schemas(false))
499
+ ORDER BY c.conname
500
+ 
501
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
502
+ FROM pg_constraint c
503
+ JOIN pg_class t1 ON c.conrelid = t1.oid
504
+ JOIN pg_class t2 ON c.confrelid = t2.oid
505
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
506
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
507
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
508
+ WHERE c.contype = 'f'
509
+ AND t1.relname = 'users'
510
+ AND t3.nspname = ANY (current_schemas(false))
511
+ ORDER BY c.conname
512
+
513
+  (121.3ms) DROP DATABASE IF EXISTS "dummy_test"
514
+  (281.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
515
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
516
+ SQL (8.1ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
517
+  (25.0ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
518
+  (5.4ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
519
+  (1.5ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
520
+  (5.3ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
521
+  (1.2ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
522
+  (47.8ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
523
+  (15.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
524
+  (1.7ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
525
+  (6.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
526
+  (18.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
527
+  (0.5ms) SELECT version FROM "schema_migrations"
528
+  (10.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030317')
529
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
530
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
531
+  (26.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
532
+  (12.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
533
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
534
+ Migrating to EnableUuidExtension (20150226030315)
535
+  (0.2ms) BEGIN
536
+ SQL (33.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
537
+ SQL (9.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
538
+  (0.7ms) COMMIT
539
+ Migrating to CreatePollettSessions (20150226030316)
540
+  (0.3ms) BEGIN
541
+  (25.5ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
542
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
543
+  (1.0ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
544
+  (1.7ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
545
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
546
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
547
+  (0.4ms) COMMIT
548
+ Migrating to CreateUsers (20150226030317)
549
+  (0.1ms) BEGIN
550
+  (19.0ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
551
+  (5.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
552
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
553
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030317"]]
554
+  (0.5ms) COMMIT
555
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
556
+  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
557
+ FROM pg_constraint c
558
+ JOIN pg_class t1 ON c.conrelid = t1.oid
559
+ JOIN pg_class t2 ON c.confrelid = t2.oid
560
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
561
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
562
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
563
+ WHERE c.contype = 'f'
564
+ AND t1.relname = 'pollett_sessions'
565
+ AND t3.nspname = ANY (current_schemas(false))
566
+ ORDER BY c.conname
567
+ 
568
+  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
569
+ FROM pg_constraint c
570
+ JOIN pg_class t1 ON c.conrelid = t1.oid
571
+ JOIN pg_class t2 ON c.confrelid = t2.oid
572
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
573
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
574
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
575
+ WHERE c.contype = 'f'
576
+ AND t1.relname = 'users'
577
+ AND t3.nspname = ANY (current_schemas(false))
578
+ ORDER BY c.conname
579
+
580
+  (130.1ms) DROP DATABASE IF EXISTS "dummy_test"
581
+  (251.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
582
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
583
+ SQL (3.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
584
+  (7.4ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
585
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
586
+  (2.5ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
587
+  (1.5ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
588
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
589
+  (2.5ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
590
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
591
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
592
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
593
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
594
+  (0.4ms) SELECT version FROM "schema_migrations"
595
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030317')
596
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
597
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
598
+  (21.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
599
+  (18.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
600
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
601
+ Migrating to EnableUuidExtension (20150226030315)
602
+  (0.2ms) BEGIN
603
+ SQL (29.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
604
+ SQL (6.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
605
+  (6.4ms) COMMIT
606
+ Migrating to CreatePollettSessions (20150226030316)
607
+  (0.1ms) BEGIN
608
+  (26.8ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
609
+  (22.6ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_2355bb5895"
610
+ FOREIGN KEY ("user_id")
611
+ REFERENCES "users" ("id")
612
+ ON DELETE CASCADE
613
+ PG::UndefinedTable: ERROR: relation "users" does not exist
614
+ : ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_2355bb5895"
615
+ FOREIGN KEY ("user_id")
616
+ REFERENCES "users" ("id")
617
+ ON DELETE CASCADE
618
+  (0.1ms) ROLLBACK
619
+  (26.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
620
+  (19.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
621
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
622
+ Migrating to CreateUsers (20150226030315)
623
+  (0.1ms) BEGIN
624
+  (8.3ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
625
+ PG::UndefinedFunction: ERROR: function uuid_generate_v1() does not exist
626
+ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
627
+ : CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
628
+  (0.1ms) ROLLBACK
629
+  (25.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
630
+  (18.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
631
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
632
+ Migrating to EnableUuidExtension (20150226030314)
633
+  (0.1ms) BEGIN
634
+ SQL (11.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
635
+  (6.2ms) COMMIT
636
+ Migrating to CreateUsers (20150226030315)
637
+  (0.1ms) BEGIN
638
+  (8.5ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
639
+ PG::UndefinedFunction: ERROR: function uuid_generate_v1() does not exist
640
+ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
641
+ : CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
642
+  (0.1ms) ROLLBACK
643
+  (37.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
644
+  (18.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
645
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
646
+ Migrating to EnableUuidExtension (20150226030314)
647
+  (0.1ms) BEGIN
648
+ SQL (28.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
649
+ SQL (6.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
650
+  (12.3ms) COMMIT
651
+ Migrating to CreateUsers (20150226030315)
652
+  (0.2ms) BEGIN
653
+  (50.7ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
654
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
655
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
656
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
657
+  (0.6ms) COMMIT
658
+ Migrating to CreatePollettSessions (20150226030316)
659
+  (0.1ms) BEGIN
660
+  (14.4ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
661
+  (17.2ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_bddc8e06b5"
662
+ FOREIGN KEY ("user_id")
663
+ REFERENCES "users" ("id")
664
+ ON DELETE CASCADE
665
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
666
+  (0.7ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
667
+  (7.3ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
668
+  (11.9ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
669
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
670
+  (0.6ms) COMMIT
671
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
672
+  (24.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
673
+ FROM pg_constraint c
674
+ JOIN pg_class t1 ON c.conrelid = t1.oid
675
+ JOIN pg_class t2 ON c.confrelid = t2.oid
676
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
677
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
678
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
679
+ WHERE c.contype = 'f'
680
+ AND t1.relname = 'pollett_sessions'
681
+ AND t3.nspname = ANY (current_schemas(false))
682
+ ORDER BY c.conname
683
+
684
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
685
+ FROM pg_constraint c
686
+ JOIN pg_class t1 ON c.conrelid = t1.oid
687
+ JOIN pg_class t2 ON c.confrelid = t2.oid
688
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
689
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
690
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
691
+ WHERE c.contype = 'f'
692
+ AND t1.relname = 'users'
693
+ AND t3.nspname = ANY (current_schemas(false))
694
+ ORDER BY c.conname
695
+ 
696
+  (122.0ms) DROP DATABASE IF EXISTS "dummy_test"
697
+  (266.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
698
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
699
+ SQL (23.3ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
700
+  (31.9ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
701
+  (1.3ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
702
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
703
+  (1.2ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
704
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
705
+  (2.4ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
706
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
707
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
708
+  (2.6ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_60865c7c4e"
709
+ FOREIGN KEY ("user_id")
710
+ REFERENCES "users" ("id")
711
+ ON DELETE CASCADE
712
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
713
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
714
+  (0.2ms) SELECT version FROM "schema_migrations"
715
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
716
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
717
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
718
+  (26.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
719
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
720
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
721
+ Migrating to EnableUuidExtension (20150226030314)
722
+  (0.2ms) BEGIN
723
+ SQL (32.2ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
724
+ SQL (6.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
725
+  (5.9ms) COMMIT
726
+ Migrating to CreateUsers (20150226030315)
727
+  (0.1ms) BEGIN
728
+  (17.2ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
729
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
730
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
731
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
732
+  (0.5ms) COMMIT
733
+ Migrating to CreatePollettSessions (20150226030316)
734
+  (0.2ms) BEGIN
735
+  (3.2ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
736
+  (3.7ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_cf13444762"
737
+ FOREIGN KEY ("user_id")
738
+ REFERENCES "users" ("id")
739
+ ON DELETE CASCADE
740
+  (0.8ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
741
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
742
+  (1.3ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
743
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
744
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
745
+  (0.6ms) COMMIT
746
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
747
+  (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
748
+ FROM pg_constraint c
749
+ JOIN pg_class t1 ON c.conrelid = t1.oid
750
+ JOIN pg_class t2 ON c.confrelid = t2.oid
751
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
752
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
753
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
754
+ WHERE c.contype = 'f'
755
+ AND t1.relname = 'pollett_sessions'
756
+ AND t3.nspname = ANY (current_schemas(false))
757
+ ORDER BY c.conname
758
+
759
+  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
760
+ FROM pg_constraint c
761
+ JOIN pg_class t1 ON c.conrelid = t1.oid
762
+ JOIN pg_class t2 ON c.confrelid = t2.oid
763
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
764
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
765
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
766
+ WHERE c.contype = 'f'
767
+ AND t1.relname = 'users'
768
+ AND t3.nspname = ANY (current_schemas(false))
769
+ ORDER BY c.conname
770
+ 
771
+  (116.0ms) DROP DATABASE IF EXISTS "dummy_test"
772
+  (242.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
773
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
774
+ SQL (3.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
775
+  (5.8ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
776
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
777
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
778
+  (1.3ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
779
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
780
+  (2.3ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
781
+  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
782
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
783
+  (2.8ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_585495d0fd"
784
+ FOREIGN KEY ("user_id")
785
+ REFERENCES "users" ("id")
786
+ ON DELETE CASCADE
787
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
788
+  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
789
+  (0.4ms) SELECT version FROM "schema_migrations"
790
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
791
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
792
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
793
+  (31.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
794
+  (13.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
795
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
796
+ Migrating to EnableUuidExtension (20150226030314)
797
+  (0.1ms) BEGIN
798
+ SQL (38.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
799
+ SQL (12.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
800
+  (6.1ms) COMMIT
801
+ Migrating to CreateUsers (20150226030315)
802
+  (0.1ms) BEGIN
803
+  (28.8ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
804
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
805
+  (3.2ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
806
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
807
+  (2.0ms) COMMIT
808
+ Migrating to CreatePollettSessions (20150226030316)
809
+  (0.2ms) BEGIN
810
+  (14.0ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
811
+  (14.8ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_66f24cb958"
812
+ FOREIGN KEY ("user_id")
813
+ REFERENCES "users" ("id")
814
+ ON DELETE CASCADE
815
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
816
+  (1.5ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
817
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
818
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
819
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
820
+  (0.6ms) COMMIT
821
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
822
+  (34.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
823
+ FROM pg_constraint c
824
+ JOIN pg_class t1 ON c.conrelid = t1.oid
825
+ JOIN pg_class t2 ON c.confrelid = t2.oid
826
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
827
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
828
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
829
+ WHERE c.contype = 'f'
830
+ AND t1.relname = 'pollett_sessions'
831
+ AND t3.nspname = ANY (current_schemas(false))
832
+ ORDER BY c.conname
833
+
834
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
835
+ FROM pg_constraint c
836
+ JOIN pg_class t1 ON c.conrelid = t1.oid
837
+ JOIN pg_class t2 ON c.confrelid = t2.oid
838
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
839
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
840
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
841
+ WHERE c.contype = 'f'
842
+ AND t1.relname = 'users'
843
+ AND t3.nspname = ANY (current_schemas(false))
844
+ ORDER BY c.conname
845
+ 
846
+  (115.4ms) DROP DATABASE IF EXISTS "dummy_test"
847
+  (241.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
848
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
849
+ SQL (7.3ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
850
+  (9.5ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
851
+  (1.5ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
852
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
853
+  (1.3ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
854
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
855
+  (3.3ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
856
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
857
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
858
+  (2.7ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_a25fc1b326"
859
+ FOREIGN KEY ("user_id")
860
+ REFERENCES "users" ("id")
861
+ ON DELETE CASCADE
862
+  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
863
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
864
+  (0.4ms) SELECT version FROM "schema_migrations"
865
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
866
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
867
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
868
+  (19.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
869
+  (12.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
870
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
871
+ Migrating to EnableUuidExtension (20150226030314)
872
+  (0.1ms) BEGIN
873
+ SQL (21.3ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
874
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
875
+  (0.5ms) COMMIT
876
+ Migrating to CreateUsers (20150226030315)
877
+  (0.1ms) BEGIN
878
+  (25.4ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
879
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
880
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
881
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
882
+  (0.5ms) COMMIT
883
+ Migrating to CreatePollettSessions (20150226030316)
884
+  (0.1ms) BEGIN
885
+  (19.0ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
886
+  (6.8ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_c1a81c4939"
887
+ FOREIGN KEY ("user_id")
888
+ REFERENCES "users" ("id")
889
+ ON DELETE CASCADE
890
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
891
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
892
+  (1.5ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
893
+  (1.7ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
894
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
895
+  (0.5ms) COMMIT
896
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
897
+  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
898
+ FROM pg_constraint c
899
+ JOIN pg_class t1 ON c.conrelid = t1.oid
900
+ JOIN pg_class t2 ON c.confrelid = t2.oid
901
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
902
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
903
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
904
+ WHERE c.contype = 'f'
905
+ AND t1.relname = 'pollett_sessions'
906
+ AND t3.nspname = ANY (current_schemas(false))
907
+ ORDER BY c.conname
908
+
909
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
910
+ FROM pg_constraint c
911
+ JOIN pg_class t1 ON c.conrelid = t1.oid
912
+ JOIN pg_class t2 ON c.confrelid = t2.oid
913
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
914
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
915
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
916
+ WHERE c.contype = 'f'
917
+ AND t1.relname = 'users'
918
+ AND t3.nspname = ANY (current_schemas(false))
919
+ ORDER BY c.conname
920
+ 
921
+  (117.7ms) DROP DATABASE IF EXISTS "dummy_test"
922
+  (241.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
923
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
924
+ SQL (3.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
925
+  (4.7ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
926
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
927
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
928
+  (1.1ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
929
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
930
+  (2.9ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
931
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
932
+  (1.2ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
933
+  (2.4ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_c1a81c4939"
934
+ FOREIGN KEY ("user_id")
935
+ REFERENCES "users" ("id")
936
+ ON DELETE CASCADE
937
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
938
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
939
+  (0.2ms) SELECT version FROM "schema_migrations"
940
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
941
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
942
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
943
+  (24.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
944
+  (13.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
945
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
946
+ Migrating to EnableUuidExtension (20150226030314)
947
+  (0.2ms) BEGIN
948
+ SQL (11.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
949
+ SQL (6.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
950
+  (6.3ms) COMMIT
951
+ Migrating to CreateUsers (20150226030315)
952
+  (0.2ms) BEGIN
953
+  (25.1ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
954
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
955
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
956
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
957
+  (0.5ms) COMMIT
958
+ Migrating to CreatePollettSessions (20150226030316)
959
+  (0.2ms) BEGIN
960
+  (15.3ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
961
+  (23.9ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_c1a81c4939"
962
+ FOREIGN KEY ("user_id")
963
+ REFERENCES "users" ("id")
964
+ ON DELETE CASCADE
965
+  (0.8ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
966
+  (0.8ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
967
+  (1.4ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
968
+  (1.8ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
969
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
970
+  (0.8ms) COMMIT
971
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
972
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
973
+ FROM pg_constraint c
974
+ JOIN pg_class t1 ON c.conrelid = t1.oid
975
+ JOIN pg_class t2 ON c.confrelid = t2.oid
976
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
977
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
978
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
979
+ WHERE c.contype = 'f'
980
+ AND t1.relname = 'pollett_sessions'
981
+ AND t3.nspname = ANY (current_schemas(false))
982
+ ORDER BY c.conname
983
+
984
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
985
+ FROM pg_constraint c
986
+ JOIN pg_class t1 ON c.conrelid = t1.oid
987
+ JOIN pg_class t2 ON c.confrelid = t2.oid
988
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
989
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
990
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
991
+ WHERE c.contype = 'f'
992
+ AND t1.relname = 'users'
993
+ AND t3.nspname = ANY (current_schemas(false))
994
+ ORDER BY c.conname
995
+ 
996
+  (119.1ms) DROP DATABASE IF EXISTS "dummy_test"
997
+  (242.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
998
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
999
+ SQL (3.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1000
+  (4.6ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1001
+  (1.2ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
1002
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
1003
+  (1.1ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
1004
+  (1.2ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
1005
+  (2.5ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v1(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1006
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
1007
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
1008
+  (2.3ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_c1a81c4939"
1009
+ FOREIGN KEY ("user_id")
1010
+ REFERENCES "users" ("id")
1011
+ ON DELETE CASCADE
1012
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1013
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1014
+  (0.2ms) SELECT version FROM "schema_migrations"
1015
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
1016
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
1017
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
1018
+  (24.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1019
+  (18.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1020
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1021
+ Migrating to EnableUuidExtension (20150226030314)
1022
+  (0.1ms) BEGIN
1023
+ SQL (10.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1024
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
1025
+  (0.5ms) COMMIT
1026
+ Migrating to CreateUsers (20150226030315)
1027
+  (0.1ms) BEGIN
1028
+  (3.0ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1029
+  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
1030
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
1031
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
1032
+  (2.2ms) COMMIT
1033
+ Migrating to CreatePollettSessions (20150226030316)
1034
+  (0.1ms) BEGIN
1035
+  (2.1ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1036
+  (3.2ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_c1a81c4939"
1037
+ FOREIGN KEY ("user_id")
1038
+ REFERENCES "users" ("id")
1039
+ ON DELETE CASCADE
1040
+  (1.1ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" ("user_id")
1041
+  (0.8ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" ("token")
1042
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" ("accessed_at")
1043
+  (0.8ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" ("revoked_at")
1044
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
1045
+  (0.5ms) COMMIT
1046
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1047
+  (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1048
+ FROM pg_constraint c
1049
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1050
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1051
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1052
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1053
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1054
+ WHERE c.contype = 'f'
1055
+ AND t1.relname = 'pollett_sessions'
1056
+ AND t3.nspname = ANY (current_schemas(false))
1057
+ ORDER BY c.conname
1058
+
1059
+  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1060
+ FROM pg_constraint c
1061
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1062
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1063
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1064
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1065
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1066
+ WHERE c.contype = 'f'
1067
+ AND t1.relname = 'users'
1068
+ AND t3.nspname = ANY (current_schemas(false))
1069
+ ORDER BY c.conname
1070
+ 
1071
+  (119.1ms) DROP DATABASE IF EXISTS "dummy_test"
1072
+  (237.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
1073
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1074
+ SQL (7.2ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1075
+  (4.5ms) CREATE TABLE "pollett_sessions" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "user_id" uuid NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1076
+  (1.2ms) CREATE INDEX "index_pollett_sessions_on_accessed_at" ON "pollett_sessions" USING btree ("accessed_at")
1077
+  (1.0ms) CREATE INDEX "index_pollett_sessions_on_revoked_at" ON "pollett_sessions" USING btree ("revoked_at")
1078
+  (1.0ms) CREATE UNIQUE INDEX "index_pollett_sessions_on_token" ON "pollett_sessions" USING btree ("token")
1079
+  (0.9ms) CREATE INDEX "index_pollett_sessions_on_user_id" ON "pollett_sessions" USING btree ("user_id")
1080
+  (2.2ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1081
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
1082
+  (2.7ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
1083
+  (2.6ms) ALTER TABLE "pollett_sessions" ADD CONSTRAINT "fk_rails_c1a81c4939"
1084
+ FOREIGN KEY ("user_id")
1085
+ REFERENCES "users" ("id")
1086
+ ON DELETE CASCADE
1087
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1088
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1089
+  (0.2ms) SELECT version FROM "schema_migrations"
1090
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
1091
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
1092
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
1093
+  (14.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1094
+  (17.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1095
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1096
+ Migrating to EnableUuidExtension (20150226030314)
1097
+  (0.2ms) BEGIN
1098
+ SQL (29.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1099
+ SQL (6.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
1100
+  (6.0ms) COMMIT
1101
+ Migrating to CreateUsers (20150226030315)
1102
+  (0.2ms) BEGIN
1103
+  (25.5ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1104
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
1105
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
1106
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
1107
+  (0.5ms) COMMIT
1108
+ Migrating to CreatePollettContexts (20150226030316)
1109
+  (0.2ms) BEGIN
1110
+  (21.2ms) CREATE TABLE "pollett_contexts" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying NOT NULL, "user_id" uuid NOT NULL, "client" character varying NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1111
+  (25.5ms) ALTER TABLE "pollett_contexts" ADD CONSTRAINT "fk_rails_ce31f073ab"
1112
+ FOREIGN KEY ("user_id")
1113
+ REFERENCES "users" ("id")
1114
+ ON DELETE CASCADE
1115
+  (1.0ms) CREATE INDEX "index_pollett_contexts_on_user_id" ON "pollett_contexts" ("user_id")
1116
+  (0.9ms) CREATE UNIQUE INDEX "index_pollett_contexts_on_token" ON "pollett_contexts" ("token")
1117
+  (1.0ms) CREATE INDEX "index_pollett_contexts_on_accessed_at" ON "pollett_contexts" ("accessed_at")
1118
+  (0.8ms) CREATE INDEX "index_pollett_contexts_on_revoked_at" ON "pollett_contexts" ("revoked_at")
1119
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
1120
+  (0.5ms) COMMIT
1121
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1122
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1123
+ FROM pg_constraint c
1124
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1125
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1126
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1127
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1128
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1129
+ WHERE c.contype = 'f'
1130
+ AND t1.relname = 'pollett_contexts'
1131
+ AND t3.nspname = ANY (current_schemas(false))
1132
+ ORDER BY c.conname
1133
+
1134
+  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1135
+ FROM pg_constraint c
1136
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1137
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1138
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1139
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1140
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1141
+ WHERE c.contype = 'f'
1142
+ AND t1.relname = 'users'
1143
+ AND t3.nspname = ANY (current_schemas(false))
1144
+ ORDER BY c.conname
1145
+ 
1146
+  (121.1ms) DROP DATABASE IF EXISTS "dummy_test"
1147
+  (236.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
1148
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1149
+ SQL (3.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1150
+  (7.5ms) CREATE TABLE "pollett_contexts" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying NOT NULL, "user_id" uuid NOT NULL, "client" character varying NOT NULL, "token" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1151
+  (1.5ms) CREATE INDEX "index_pollett_contexts_on_accessed_at" ON "pollett_contexts" USING btree ("accessed_at")
1152
+  (1.1ms) CREATE INDEX "index_pollett_contexts_on_revoked_at" ON "pollett_contexts" USING btree ("revoked_at")
1153
+  (1.0ms) CREATE UNIQUE INDEX "index_pollett_contexts_on_token" ON "pollett_contexts" USING btree ("token")
1154
+  (0.9ms) CREATE INDEX "index_pollett_contexts_on_user_id" ON "pollett_contexts" USING btree ("user_id")
1155
+  (2.6ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1156
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
1157
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
1158
+  (2.4ms) ALTER TABLE "pollett_contexts" ADD CONSTRAINT "fk_rails_ce31f073ab"
1159
+ FOREIGN KEY ("user_id")
1160
+ REFERENCES "users" ("id")
1161
+ ON DELETE CASCADE
1162
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1163
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1164
+  (0.3ms) SELECT version FROM "schema_migrations"
1165
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
1166
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
1167
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
1168
+ Pollett::Context Load (29.8ms) SELECT "pollett_contexts".* FROM "pollett_contexts" WHERE (((type = 'Session' AND accessed_at >= '2015-04-12 00:13:46.254047') OR (type = 'Key')) AND revoked_at IS NULL)
1169
+ Pollett::Key Load (0.3ms) SELECT "pollett_contexts".* FROM "pollett_contexts" WHERE "pollett_contexts"."type" IN ('Pollett::Key') AND (((type = 'Session' AND accessed_at >= '2015-04-12 00:13:59.374760') OR (type = 'Key')) AND revoked_at IS NULL)
1170
+  (38.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1171
+  (22.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1172
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1173
+ Migrating to EnableUuidExtension (20150226030314)
1174
+  (0.2ms) BEGIN
1175
+ SQL (34.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1176
+ SQL (11.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
1177
+  (11.1ms) COMMIT
1178
+ Migrating to CreateUsers (20150226030315)
1179
+  (0.2ms) BEGIN
1180
+  (27.2ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1181
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
1182
+  (1.9ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
1183
+ SQL (2.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
1184
+  (0.7ms) COMMIT
1185
+ Migrating to CreatePollettContexts (20150226030316)
1186
+  (0.2ms) BEGIN
1187
+  (24.9ms) CREATE TABLE "pollett_contexts" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying NOT NULL, "user_id" uuid NOT NULL, "client" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1188
+  (6.3ms) ALTER TABLE "pollett_contexts" ADD CONSTRAINT "fk_rails_ce31f073ab"
1189
+ FOREIGN KEY ("user_id")
1190
+ REFERENCES "users" ("id")
1191
+ ON DELETE CASCADE
1192
+  (12.1ms) CREATE INDEX "index_pollett_contexts_on_user_id" ON "pollett_contexts" ("user_id")
1193
+  (7.6ms) CREATE INDEX "index_pollett_contexts_on_accessed_at" ON "pollett_contexts" ("accessed_at")
1194
+  (13.7ms) CREATE INDEX "index_pollett_contexts_on_revoked_at" ON "pollett_contexts" ("revoked_at")
1195
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
1196
+  (11.6ms) COMMIT
1197
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1198
+  (6.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1199
+ FROM pg_constraint c
1200
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1201
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1202
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1203
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1204
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1205
+ WHERE c.contype = 'f'
1206
+ AND t1.relname = 'pollett_contexts'
1207
+ AND t3.nspname = ANY (current_schemas(false))
1208
+ ORDER BY c.conname
1209
+ 
1210
+  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1211
+ FROM pg_constraint c
1212
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1213
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1214
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1215
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1216
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1217
+ WHERE c.contype = 'f'
1218
+ AND t1.relname = 'users'
1219
+ AND t3.nspname = ANY (current_schemas(false))
1220
+ ORDER BY c.conname
1221
+
1222
+  (117.1ms) DROP DATABASE IF EXISTS "dummy_test"
1223
+  (238.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
1224
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1225
+ SQL (3.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1226
+  (9.0ms) CREATE TABLE "pollett_contexts" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying NOT NULL, "user_id" uuid NOT NULL, "client" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1227
+  (3.2ms) CREATE INDEX "index_pollett_contexts_on_accessed_at" ON "pollett_contexts" USING btree ("accessed_at")
1228
+  (1.7ms) CREATE INDEX "index_pollett_contexts_on_revoked_at" ON "pollett_contexts" USING btree ("revoked_at")
1229
+  (2.8ms) CREATE INDEX "index_pollett_contexts_on_user_id" ON "pollett_contexts" USING btree ("user_id")
1230
+  (34.9ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1231
+  (1.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
1232
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
1233
+  (4.6ms) ALTER TABLE "pollett_contexts" ADD CONSTRAINT "fk_rails_ce31f073ab"
1234
+ FOREIGN KEY ("user_id")
1235
+ REFERENCES "users" ("id")
1236
+ ON DELETE CASCADE
1237
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1238
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1239
+  (0.3ms) SELECT version FROM "schema_migrations"
1240
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
1241
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
1242
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')
1243
+  (12.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1244
+  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1245
+ ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1246
+ Migrating to EnableUuidExtension (20150226030314)
1247
+  (0.2ms) BEGIN
1248
+ SQL (37.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1249
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030314"]]
1250
+  (1.2ms) COMMIT
1251
+ Migrating to CreateUsers (20150226030315)
1252
+  (0.2ms) BEGIN
1253
+  (17.7ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1254
+  (1.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
1255
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" ("reset_token")
1256
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030315"]]
1257
+  (0.6ms) COMMIT
1258
+ Migrating to CreatePollettContexts (20150226030316)
1259
+  (0.2ms) BEGIN
1260
+  (6.8ms) CREATE TABLE "pollett_contexts" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying NOT NULL, "user_id" uuid NOT NULL, "client" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1261
+  (8.1ms) ALTER TABLE "pollett_contexts" ADD CONSTRAINT "fk_rails_ce31f073ab"
1262
+ FOREIGN KEY ("user_id")
1263
+ REFERENCES "users" ("id")
1264
+ ON DELETE CASCADE
1265
+  (1.8ms) CREATE INDEX "index_pollett_contexts_on_user_id" ON "pollett_contexts" ("user_id")
1266
+  (1.6ms) CREATE INDEX "index_pollett_contexts_on_accessed_at" ON "pollett_contexts" ("accessed_at")
1267
+  (1.6ms) CREATE INDEX "index_pollett_contexts_on_revoked_at" ON "pollett_contexts" ("revoked_at")
1268
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150226030316"]]
1269
+  (0.6ms) COMMIT
1270
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1271
+  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1272
+ FROM pg_constraint c
1273
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1274
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1275
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1276
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1277
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1278
+ WHERE c.contype = 'f'
1279
+ AND t1.relname = 'pollett_contexts'
1280
+ AND t3.nspname = ANY (current_schemas(false))
1281
+ ORDER BY c.conname
1282
+ 
1283
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1284
+ FROM pg_constraint c
1285
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1286
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1287
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1288
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1289
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1290
+ WHERE c.contype = 'f'
1291
+ AND t1.relname = 'users'
1292
+ AND t3.nspname = ANY (current_schemas(false))
1293
+ ORDER BY c.conname
1294
+
1295
+  (139.9ms) DROP DATABASE IF EXISTS "dummy_test"
1296
+  (258.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
1297
+ SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1298
+ SQL (12.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
1299
+  (13.8ms) CREATE TABLE "pollett_contexts" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying NOT NULL, "user_id" uuid NOT NULL, "client" character varying NOT NULL, "revoked_at" timestamp, "accessed_at" timestamp, "ip" character varying, "user_agent" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1300
+  (1.5ms) CREATE INDEX "index_pollett_contexts_on_accessed_at" ON "pollett_contexts" USING btree ("accessed_at")
1301
+  (1.3ms) CREATE INDEX "index_pollett_contexts_on_revoked_at" ON "pollett_contexts" USING btree ("revoked_at")
1302
+  (3.6ms) CREATE INDEX "index_pollett_contexts_on_user_id" ON "pollett_contexts" USING btree ("user_id")
1303
+  (10.0ms) CREATE TABLE "users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "email" character varying NOT NULL, "password_digest" character varying NOT NULL, "reset_token" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1304
+  (1.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")
1305
+  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_token" ON "users" USING btree ("reset_token")
1306
+  (10.7ms) ALTER TABLE "pollett_contexts" ADD CONSTRAINT "fk_rails_ce31f073ab"
1307
+ FOREIGN KEY ("user_id")
1308
+ REFERENCES "users" ("id")
1309
+ ON DELETE CASCADE
1310
+  (7.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1311
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1312
+  (0.8ms) SELECT version FROM "schema_migrations"
1313
+  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030316')
1314
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030314')
1315
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226030315')