wupee 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +30 -0
- data/app/controllers/wupee/api/notifications_controller.rb +33 -0
- data/app/controllers/wupee/application_controller.rb +4 -0
- data/app/mailers/wupee/notifications_mailer.rb +30 -0
- data/app/models/concerns/wupee/attached_object.rb +9 -0
- data/app/models/concerns/wupee/receiver.rb +16 -0
- data/app/models/wupee/notification.rb +16 -0
- data/app/models/wupee/notification_type.rb +18 -0
- data/app/models/wupee/notification_type_configuration.rb +17 -0
- data/app/models/wupee/notifier.rb +73 -0
- data/app/views/wupee/api/notifications/_notification.json.jbuilder +5 -0
- data/app/views/wupee/api/notifications/index.json.jbuilder +1 -0
- data/app/views/wupee/api/notifications/show.json.jbuilder +1 -0
- data/db/migrate/20151029113101_create_wupee_notification_type_configurations.rb +13 -0
- data/db/migrate/20151029113107_create_wupee_notifications.rb +14 -0
- data/db/migrate/20151029113122_create_wupee_notification_types.rb +10 -0
- data/lib/generators/wupee/install/USAGE +15 -0
- data/lib/generators/wupee/install/install_generator.rb +24 -0
- data/lib/generators/wupee/install/templates/notifications_mailer.rb +4 -0
- data/lib/generators/wupee/install/templates/wupee.rb +6 -0
- data/lib/generators/wupee/notification_type/USAGE +11 -0
- data/lib/generators/wupee/notification_type/notification_type_generator.rb +26 -0
- data/lib/tasks/wupee_tasks.rake +4 -0
- data/lib/wupee.rb +11 -0
- data/lib/wupee/engine.rb +12 -0
- data/lib/wupee/version.rb +3 -0
- data/spec/controllers/notifications_controller_spec.rb +65 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/notifications_mailer.rb +4 -0
- data/spec/dummy/app/models/message.rb +3 -0
- data/spec/dummy/app/models/user.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/notifications/_admin_user_created.html.erb +0 -0
- data/spec/dummy/app/views/notifications/_notify_new_message.html.erb +0 -0
- data/spec/dummy/app/views/notifications_mailer/notify_new_message.html.erb +0 -0
- data/spec/dummy/app/views/wupee/api/notifications/_notification.json.jbuilder +5 -0
- data/spec/dummy/app/views/wupee/api/notifications/_notify_new_message.json.jbuilder +3 -0
- data/spec/dummy/app/views/wupee/api/notifications/index.json.jbuilder +1 -0
- data/spec/dummy/app/views/wupee/api/notifications/show.json.jbuilder +1 -0
- data/spec/dummy/app/views/wupee/notifications/_notify_new_message.html.erb +0 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +32 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/initializers/wupee.rb +6 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150213150625_create_users.rb +10 -0
- data/spec/dummy/db/migrate/20150213152846_create_messages.rb +9 -0
- data/spec/dummy/db/schema.rb +61 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1750 -0
- data/spec/dummy/log/test.log +76399 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/message.rb +5 -0
- data/spec/factories/notification.rb +7 -0
- data/spec/factories/notification_type.rb +5 -0
- data/spec/factories/notification_type_configuration.rb +6 -0
- data/spec/factories/user.rb +9 -0
- data/spec/mailers/notifications_mailer_spec.rb +33 -0
- data/spec/models/concerns/attached_object_spec.rb +11 -0
- data/spec/models/concerns/receiver_spec.rb +37 -0
- data/spec/models/message_spec.rb +5 -0
- data/spec/models/notification_spec.rb +54 -0
- data/spec/models/notification_type_configuration_spec.rb +43 -0
- data/spec/models/notifier_spec.rb +42 -0
- data/spec/models/user_spec.rb +5 -0
- data/spec/rails_helper.rb +52 -0
- data/spec/spec_helper.rb +87 -0
- data/spec/support/factory_girl.rb +3 -0
- data/spec/wupee_spec.rb +15 -0
- metadata +291 -0
@@ -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,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,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,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,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: bac8f84c30b469b26411ccff2193e1e2f940db7a4206834ee8c7cab76886d6c0e7db724ea843f84060617b032bfb4000f2b5d0ee55ded5549ad3fcaf44cdd8cc
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: d1fd44cc278480713531412b07c834d46b63b25fb7a1fc48fd7a33c5d176f6a1c929189d143b6fd4a3bfcde8a930a784b319243fab188ac13791bc943c3873d4
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
@@ -0,0 +1,61 @@
|
|
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: 20151029113122) do
|
15
|
+
|
16
|
+
create_table "messages", force: :cascade do |t|
|
17
|
+
t.string "body"
|
18
|
+
t.datetime "created_at", null: false
|
19
|
+
t.datetime "updated_at", null: false
|
20
|
+
end
|
21
|
+
|
22
|
+
create_table "users", force: :cascade do |t|
|
23
|
+
t.string "name"
|
24
|
+
t.string "email"
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
end
|
28
|
+
|
29
|
+
create_table "wupee_notification_type_configurations", force: :cascade do |t|
|
30
|
+
t.integer "notification_type_id"
|
31
|
+
t.integer "receiver_id"
|
32
|
+
t.string "receiver_type"
|
33
|
+
t.integer "value", default: 0
|
34
|
+
t.datetime "created_at", null: false
|
35
|
+
t.datetime "updated_at", null: false
|
36
|
+
end
|
37
|
+
|
38
|
+
add_index "wupee_notification_type_configurations", ["notification_type_id"], name: "idx_wupee_notif_type_config_on_notification_type_id"
|
39
|
+
add_index "wupee_notification_type_configurations", ["receiver_type", "receiver_id"], name: "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id"
|
40
|
+
|
41
|
+
create_table "wupee_notification_types", force: :cascade do |t|
|
42
|
+
t.string "name"
|
43
|
+
t.datetime "created_at", null: false
|
44
|
+
t.datetime "updated_at", null: false
|
45
|
+
end
|
46
|
+
|
47
|
+
add_index "wupee_notification_types", ["name"], name: "index_wupee_notification_types_on_name", unique: true
|
48
|
+
|
49
|
+
create_table "wupee_notifications", force: :cascade do |t|
|
50
|
+
t.integer "receiver_id"
|
51
|
+
t.string "receiver_type"
|
52
|
+
t.integer "attached_object_id"
|
53
|
+
t.string "attached_object_type"
|
54
|
+
t.integer "notification_type_id"
|
55
|
+
t.boolean "is_read", default: false
|
56
|
+
t.boolean "is_sent", default: false
|
57
|
+
t.datetime "created_at", null: false
|
58
|
+
t.datetime "updated_at", null: false
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
Binary file
|
@@ -0,0 +1,1750 @@
|
|
1
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
4
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
5
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
9
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
10
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
11
|
+
[1m[36m (9.4ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
12
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
13
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
15
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
16
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
17
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
18
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
19
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
20
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
21
|
+
[1m[36m (9.4ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
22
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
23
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
24
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
25
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
26
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
27
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
28
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
29
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
30
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
31
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
33
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
35
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
36
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
37
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
39
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
40
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
41
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
42
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
43
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
44
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
45
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
46
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
47
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
48
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
49
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
50
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
51
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
52
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
53
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
54
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
55
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
56
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
58
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
59
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
60
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
61
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
62
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
63
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
64
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
65
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
66
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
67
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
68
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
69
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
70
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
71
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
72
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
73
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
74
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
75
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
76
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
77
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
78
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
79
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
80
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
81
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
82
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
83
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
84
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
85
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
86
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
87
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
88
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
89
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
90
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
91
|
+
[1m[36m (10.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
92
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
93
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
94
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
95
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
96
|
+
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
97
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
98
|
+
[1m[35m (4.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
99
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
100
|
+
[1m[35m (2.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
101
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
102
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
103
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
104
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
105
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
106
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
107
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
108
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
109
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
110
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
111
|
+
[1m[36m (9.9ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
112
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
113
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
114
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
115
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
116
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
117
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
118
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
119
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
120
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
121
|
+
[1m[36m (17.5ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
122
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
123
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
124
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
125
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
126
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
127
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
128
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
129
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
130
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
131
|
+
[1m[36m (9.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
132
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
133
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
134
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
135
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
136
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
137
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
138
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
139
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
140
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
141
|
+
[1m[36m (9.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
142
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
143
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
144
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
145
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
146
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
147
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
148
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
149
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
150
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
151
|
+
[1m[36m (9.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
152
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
153
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
154
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
155
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
156
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
157
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
158
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
159
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
160
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
161
|
+
[1m[36m (9.5ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
162
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
163
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
164
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
165
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
166
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
167
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
168
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
169
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
170
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
171
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
172
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
173
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
174
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
175
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
176
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
177
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
178
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
179
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
180
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
181
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
182
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
183
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
184
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
185
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
186
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
187
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
188
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
189
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
190
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
191
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
192
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
193
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
194
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
195
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
196
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
197
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
198
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
199
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
200
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
201
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
202
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
203
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
204
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
205
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
206
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
207
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
208
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
209
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
210
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
211
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
212
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
213
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
214
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
215
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
216
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
217
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
218
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
219
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
220
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
221
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
222
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
223
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
224
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
225
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
226
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
227
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
228
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
229
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
230
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
231
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
232
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
233
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
234
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
235
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
236
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
237
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
238
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
239
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
240
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
241
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
242
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
243
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
244
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
245
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
246
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
247
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
248
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
249
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
250
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
251
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
252
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
253
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
254
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
255
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
256
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
257
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
258
|
+
[1m[35m (2.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
259
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
260
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
261
|
+
[1m[36m (9.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
262
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
263
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
264
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
265
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
266
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
267
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
268
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
269
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
270
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
271
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
272
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
273
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
274
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
275
|
+
Migrating to CreateUsers (20150213150625)
|
276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
277
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
278
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
279
|
+
[1m[35m (1.5ms)[0m commit transaction
|
280
|
+
Migrating to CreateMessages (20150213152846)
|
281
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
282
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
283
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
284
|
+
[1m[35m (0.8ms)[0m commit transaction
|
285
|
+
Migrating to CreateNotifications (20151028110352)
|
286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
287
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
288
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
289
|
+
[1m[35m (1.0ms)[0m commit transaction
|
290
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
291
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
292
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
293
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110353"]]
|
294
|
+
[1m[35m (0.6ms)[0m commit transaction
|
295
|
+
Migrating to CreateNotificationTypesReceivers (20151028110354)
|
296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
298
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
299
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
300
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
301
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
302
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
303
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
304
|
+
Migrating to CreateUsers (20150213150625)
|
305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
306
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
307
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
308
|
+
[1m[35m (0.8ms)[0m commit transaction
|
309
|
+
Migrating to CreateMessages (20150213152846)
|
310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
311
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
312
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
313
|
+
[1m[35m (1.1ms)[0m commit transaction
|
314
|
+
Migrating to CreateNotifications (20151028110352)
|
315
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
317
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
318
|
+
[1m[35m (0.9ms)[0m commit transaction
|
319
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
320
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
321
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
322
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110353"]]
|
323
|
+
[1m[35m (0.7ms)[0m commit transaction
|
324
|
+
Migrating to CreateNotificationTypesReceivers (20151028110354)
|
325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
326
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
327
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
328
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
329
|
+
[1m[36m (8.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
330
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
331
|
+
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
332
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
333
|
+
Migrating to CreateUsers (20150213150625)
|
334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
335
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
336
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
337
|
+
[1m[35m (0.6ms)[0m commit transaction
|
338
|
+
Migrating to CreateMessages (20150213152846)
|
339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
341
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
342
|
+
[1m[35m (0.7ms)[0m commit transaction
|
343
|
+
Migrating to CreateNotifications (20151028110352)
|
344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
345
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
346
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
347
|
+
[1m[35m (1.3ms)[0m commit transaction
|
348
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
350
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
351
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110353"]]
|
352
|
+
[1m[35m (0.8ms)[0m commit transaction
|
353
|
+
Migrating to CreateNotificationTypesReceivers (20151028111119)
|
354
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
355
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
356
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
357
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notificaiton_types_receivers" ("receiver_type", "receiver_id")
|
358
|
+
SQLite3::SQLException: no such table: main.notificaiton_types_receivers: CREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notificaiton_types_receivers" ("receiver_type", "receiver_id")
|
359
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
360
|
+
[1m[36m (9.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
361
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
362
|
+
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
363
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
364
|
+
Migrating to CreateUsers (20150213150625)
|
365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
366
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
367
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
368
|
+
[1m[35m (0.8ms)[0m commit transaction
|
369
|
+
Migrating to CreateMessages (20150213152846)
|
370
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
371
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
372
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
373
|
+
[1m[35m (0.7ms)[0m commit transaction
|
374
|
+
Migrating to CreateNotifications (20151028110352)
|
375
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
376
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
377
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
378
|
+
[1m[35m (0.8ms)[0m commit transaction
|
379
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
380
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
381
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
382
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110353"]]
|
383
|
+
[1m[35m (0.7ms)[0m commit transaction
|
384
|
+
Migrating to CreateNotificationTypesReceivers (20151028111119)
|
385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
386
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
387
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
388
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notificaiton_types_receivers" ("receiver_type", "receiver_id")
|
389
|
+
SQLite3::SQLException: no such table: main.notificaiton_types_receivers: CREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notificaiton_types_receivers" ("receiver_type", "receiver_id")
|
390
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
391
|
+
[1m[36m (8.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
392
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
393
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
394
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
395
|
+
Migrating to CreateUsers (20150213150625)
|
396
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
397
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
398
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
399
|
+
[1m[35m (0.9ms)[0m commit transaction
|
400
|
+
Migrating to CreateMessages (20150213152846)
|
401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
402
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
403
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
404
|
+
[1m[35m (1.7ms)[0m commit transaction
|
405
|
+
Migrating to CreateNotifications (20151028110352)
|
406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
407
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
408
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
409
|
+
[1m[35m (1.2ms)[0m commit transaction
|
410
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
412
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
413
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110353"]]
|
414
|
+
[1m[35m (0.9ms)[0m commit transaction
|
415
|
+
Migrating to CreateNotificationTypesReceivers (20151028111239)
|
416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
417
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
418
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
419
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
420
|
+
FROM sqlite_master
|
421
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
422
|
+
UNION ALL
|
423
|
+
SELECT sql
|
424
|
+
FROM sqlite_temp_master
|
425
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
426
|
+
|
427
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
428
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028111239"]]
|
429
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
430
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
431
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
432
|
+
FROM sqlite_master
|
433
|
+
WHERE name='idx_notif_typ_receiv_on_receiver_type_and_receiver_id' AND type='index'
|
434
|
+
UNION ALL
|
435
|
+
SELECT sql
|
436
|
+
FROM sqlite_temp_master
|
437
|
+
WHERE name='idx_notif_typ_receiv_on_receiver_type_and_receiver_id' AND type='index'
|
438
|
+
[0m
|
439
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
440
|
+
FROM sqlite_master
|
441
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
442
|
+
UNION ALL
|
443
|
+
SELECT sql
|
444
|
+
FROM sqlite_temp_master
|
445
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
446
|
+
|
447
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
448
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
449
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
450
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
451
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
452
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
453
|
+
FROM sqlite_master
|
454
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
455
|
+
UNION ALL
|
456
|
+
SELECT sql
|
457
|
+
FROM sqlite_temp_master
|
458
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
459
|
+
|
460
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
461
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
462
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
463
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
464
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
465
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
466
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
467
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
468
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
469
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
470
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
471
|
+
[1m[36m (9.7ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
472
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
473
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
474
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
475
|
+
[1m[36m (2.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
476
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
477
|
+
FROM sqlite_master
|
478
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
479
|
+
UNION ALL
|
480
|
+
SELECT sql
|
481
|
+
FROM sqlite_temp_master
|
482
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
483
|
+
|
484
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
485
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
486
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
487
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
488
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
489
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
490
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
491
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
492
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
493
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
494
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
495
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
496
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
497
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
498
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
499
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
500
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
501
|
+
FROM sqlite_master
|
502
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
503
|
+
UNION ALL
|
504
|
+
SELECT sql
|
505
|
+
FROM sqlite_temp_master
|
506
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
507
|
+
|
508
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
509
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
510
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
511
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
512
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
513
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
514
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
515
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
516
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
517
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
518
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
519
|
+
[1m[36m (9.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
520
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
521
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
522
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
523
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
524
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
525
|
+
FROM sqlite_master
|
526
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
527
|
+
UNION ALL
|
528
|
+
SELECT sql
|
529
|
+
FROM sqlite_temp_master
|
530
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
531
|
+
|
532
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
533
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
534
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
535
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
536
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
537
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
538
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
539
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
540
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
541
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
542
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
543
|
+
[1m[36m (8.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
544
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
545
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
546
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
547
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
548
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
549
|
+
FROM sqlite_master
|
550
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
551
|
+
UNION ALL
|
552
|
+
SELECT sql
|
553
|
+
FROM sqlite_temp_master
|
554
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
555
|
+
|
556
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
557
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
558
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
559
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
560
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
561
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
562
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
563
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
564
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
565
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
566
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
567
|
+
[1m[36m (9.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
568
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
569
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
570
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
571
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
572
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
573
|
+
FROM sqlite_master
|
574
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
575
|
+
UNION ALL
|
576
|
+
SELECT sql
|
577
|
+
FROM sqlite_temp_master
|
578
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
579
|
+
|
580
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
581
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
582
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
583
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
584
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
585
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
586
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
587
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
588
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
589
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
590
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
591
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
592
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
593
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
594
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
595
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
596
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
597
|
+
FROM sqlite_master
|
598
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
599
|
+
UNION ALL
|
600
|
+
SELECT sql
|
601
|
+
FROM sqlite_temp_master
|
602
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
603
|
+
|
604
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
605
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
606
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
607
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
608
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
609
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
610
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
611
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
612
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
613
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
614
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
615
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
616
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
617
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
618
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
619
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
620
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
621
|
+
FROM sqlite_master
|
622
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
623
|
+
UNION ALL
|
624
|
+
SELECT sql
|
625
|
+
FROM sqlite_temp_master
|
626
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
627
|
+
|
628
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
629
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
630
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
631
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
632
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
633
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
634
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
635
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
636
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
637
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
638
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
639
|
+
[1m[36m (8.4ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
640
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
641
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
642
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
643
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
644
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
645
|
+
FROM sqlite_master
|
646
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
647
|
+
UNION ALL
|
648
|
+
SELECT sql
|
649
|
+
FROM sqlite_temp_master
|
650
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
651
|
+
|
652
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
653
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
654
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
655
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
656
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
657
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
658
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
659
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
660
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
661
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
662
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
663
|
+
[1m[36mNotifyWith::NotificationType Load (0.6ms)[0m [1mSELECT "notification_types".* FROM "notification_types" WHERE "notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
665
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-10-28 11:30:05.932879"], ["updated_at", "2015-10-28 11:30:05.932879"]]
|
666
|
+
[1m[35m (0.9ms)[0m commit transaction
|
667
|
+
[1m[36mNotifyWith::Notification Load (8.4ms)[0m [1mSELECT "notifications".* FROM "notifications"[0m
|
668
|
+
[1m[35mNotifyWith::NotificationType Load (0.2ms)[0m SELECT "notification_types".* FROM "notification_types"
|
669
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
670
|
+
[1m[35mSQL (8.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-10-28 11:31:22.297527"], ["updated_at", "2015-10-28 11:31:22.297527"]]
|
671
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
673
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-10-28 11:31:22.316635"], ["updated_at", "2015-10-28 11:31:22.316635"]]
|
674
|
+
[1m[35m (0.9ms)[0m commit transaction
|
675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
676
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-10-28 11:31:22.320784"], ["updated_at", "2015-10-28 11:31:22.320784"]]
|
677
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
678
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
679
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
680
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
681
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
682
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
683
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
684
|
+
FROM sqlite_master
|
685
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
686
|
+
UNION ALL
|
687
|
+
SELECT sql
|
688
|
+
FROM sqlite_temp_master
|
689
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
690
|
+
|
691
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
692
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
693
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
694
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
695
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
696
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
697
|
+
[1m[36m (4.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
698
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
699
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
700
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
701
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
702
|
+
[1m[36m (8.8ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
703
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
704
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
705
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
706
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
707
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
708
|
+
FROM sqlite_master
|
709
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
710
|
+
UNION ALL
|
711
|
+
SELECT sql
|
712
|
+
FROM sqlite_temp_master
|
713
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
714
|
+
|
715
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
716
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
717
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
718
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
719
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
720
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
721
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
722
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
723
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
724
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
725
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
726
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
727
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
728
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
729
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
730
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
731
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
732
|
+
FROM sqlite_master
|
733
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
734
|
+
UNION ALL
|
735
|
+
SELECT sql
|
736
|
+
FROM sqlite_temp_master
|
737
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
738
|
+
|
739
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
740
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
741
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
742
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
743
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
744
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
745
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
746
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
747
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
748
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
749
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
750
|
+
[1m[36m (9.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
751
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
752
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
753
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
754
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
755
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
756
|
+
FROM sqlite_master
|
757
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
758
|
+
UNION ALL
|
759
|
+
SELECT sql
|
760
|
+
FROM sqlite_temp_master
|
761
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
762
|
+
|
763
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
764
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
765
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
766
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
767
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
768
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
769
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
770
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
771
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
772
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
773
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
774
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
775
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
776
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
777
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
778
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
779
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
780
|
+
FROM sqlite_master
|
781
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
782
|
+
UNION ALL
|
783
|
+
SELECT sql
|
784
|
+
FROM sqlite_temp_master
|
785
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
786
|
+
|
787
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
788
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
789
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
790
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
791
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
792
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
793
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
794
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
795
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
796
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
797
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
798
|
+
[1m[35mNotifyWith::Notification Load (1.2ms)[0m SELECT "notifications".* FROM "notifications" ORDER BY "notifications"."id" DESC LIMIT 1
|
799
|
+
[1m[36mNotifyWith::NotificationType Load (0.5ms)[0m [1mSELECT "notification_types".* FROM "notification_types" WHERE "notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
800
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
801
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
802
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
803
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
804
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")[0m
|
805
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
806
|
+
FROM sqlite_master
|
807
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
808
|
+
UNION ALL
|
809
|
+
SELECT sql
|
810
|
+
FROM sqlite_temp_master
|
811
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
812
|
+
|
813
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")[0m
|
814
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
815
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
816
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
817
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
818
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
819
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028111239')[0m
|
820
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213150625')
|
821
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213152846')[0m
|
822
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151028110352')
|
823
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151028110353')[0m
|
824
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
825
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
826
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
827
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
828
|
+
Migrating to CreateUsers (20150213150625)
|
829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
830
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
831
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
832
|
+
[1m[35m (0.9ms)[0m commit transaction
|
833
|
+
Migrating to CreateMessages (20150213152846)
|
834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
835
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
836
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
837
|
+
[1m[35m (0.8ms)[0m commit transaction
|
838
|
+
Migrating to CreateNotifications (20151028110352)
|
839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
841
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
842
|
+
[1m[35m (0.8ms)[0m commit transaction
|
843
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
845
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
846
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_notification_types_on_name" ON "notification_types" ("name")[0m
|
847
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028110353"]]
|
848
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
849
|
+
Migrating to CreateNotificationTypesReceivers (20151028111239)
|
850
|
+
[1m[35m (0.3ms)[0m begin transaction
|
851
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "notification_types_receivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
852
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_notification_types_receivers_on_notification_type_id" ON "notification_types_receivers" ("notification_type_id")
|
853
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
854
|
+
FROM sqlite_master
|
855
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
856
|
+
UNION ALL
|
857
|
+
SELECT sql
|
858
|
+
FROM sqlite_temp_master
|
859
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
860
|
+
[0m
|
861
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "idx_notif_typ_receiv_on_receiver_type_and_receiver_id" ON "notification_types_receivers" ("receiver_type", "receiver_id")
|
862
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028111239"]]
|
863
|
+
[1m[35m (2.2ms)[0m commit transaction
|
864
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
865
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
866
|
+
FROM sqlite_master
|
867
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
868
|
+
UNION ALL
|
869
|
+
SELECT sql
|
870
|
+
FROM sqlite_temp_master
|
871
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
872
|
+
|
873
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
874
|
+
FROM sqlite_master
|
875
|
+
WHERE name='idx_notif_typ_receiv_on_receiver_type_and_receiver_id' AND type='index'
|
876
|
+
UNION ALL
|
877
|
+
SELECT sql
|
878
|
+
FROM sqlite_temp_master
|
879
|
+
WHERE name='idx_notif_typ_receiv_on_receiver_type_and_receiver_id' AND type='index'
|
880
|
+
[0m
|
881
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
882
|
+
FROM sqlite_master
|
883
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
884
|
+
UNION ALL
|
885
|
+
SELECT sql
|
886
|
+
FROM sqlite_temp_master
|
887
|
+
WHERE name='index_notification_types_receivers_on_notification_type_id' AND type='index'
|
888
|
+
|
889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
890
|
+
[1m[35mNotifyWith::NotificationType Exists (0.3ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'a' LIMIT 1
|
891
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2015-10-28 13:45:47.245772"], ["updated_at", "2015-10-28 13:45:47.245772"]]
|
892
|
+
[1m[35m (0.9ms)[0m commit transaction
|
893
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
894
|
+
[1m[35mNotifyWith::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'a' LIMIT 1
|
895
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
897
|
+
[1m[35mNotifyWith::NotificationType Exists (0.4ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_lala' LIMIT 1
|
898
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_test_lala"], ["created_at", "2015-10-28 14:21:56.782493"], ["updated_at", "2015-10-28 14:21:56.782493"]]
|
899
|
+
[1m[35m (0.8ms)[0m commit transaction
|
900
|
+
[1m[36mNotifyWith::NotificationType Load (1.4ms)[0m [1mSELECT "notification_types".* FROM "notification_types"[0m
|
901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
902
|
+
[1m[35mNotifyWith::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_lolo' LIMIT 1
|
903
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_test_lolo"], ["created_at", "2015-10-28 14:29:03.064802"], ["updated_at", "2015-10-28 14:29:03.064802"]]
|
904
|
+
[1m[35m (0.9ms)[0m commit transaction
|
905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
906
|
+
[1m[35mNotifyWith::NotificationType Exists (0.5ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_lolo' LIMIT 1
|
907
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
908
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
909
|
+
[1m[35mNotifyWith::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_loli' LIMIT 1
|
910
|
+
[1m[36mSQL (8.8ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_test_loli"], ["created_at", "2015-10-28 14:29:42.489701"], ["updated_at", "2015-10-28 14:29:42.489701"]]
|
911
|
+
[1m[35m (1.1ms)[0m commit transaction
|
912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
913
|
+
[1m[35mNotifyWith::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_lolaaa' LIMIT 1
|
914
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_test_lolaaa"], ["created_at", "2015-10-28 14:30:10.139389"], ["updated_at", "2015-10-28 14:30:10.139389"]]
|
915
|
+
[1m[35m (0.9ms)[0m commit transaction
|
916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
917
|
+
[1m[35mNotifyWith::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_lolweweg' LIMIT 1
|
918
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_test_lolweweg"], ["created_at", "2015-10-28 14:30:33.736321"], ["updated_at", "2015-10-28 14:30:33.736321"]]
|
919
|
+
[1m[35m (0.7ms)[0m commit transaction
|
920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
921
|
+
[1m[35mNotifyWith::NotificationType Exists (0.5ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_new_message' LIMIT 1
|
922
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-10-28 14:32:49.549712"], ["updated_at", "2015-10-28 14:32:49.549712"]]
|
923
|
+
[1m[35m (0.7ms)[0m commit transaction
|
924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
925
|
+
[1m[35mNotifyWith::NotificationType Exists (0.4ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'notify_test_lili' LIMIT 1
|
926
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_test_lili"], ["created_at", "2015-10-28 14:34:18.740355"], ["updated_at", "2015-10-28 14:34:18.740355"]]
|
927
|
+
[1m[35m (0.8ms)[0m commit transaction
|
928
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
929
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
930
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
931
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
932
|
+
Migrating to CreateUsers (20150213150625)
|
933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
|
+
[1m[35m (7.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
935
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
936
|
+
[1m[35m (0.9ms)[0m commit transaction
|
937
|
+
Migrating to CreateMessages (20150213152846)
|
938
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
939
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
940
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
941
|
+
[1m[35m (2.2ms)[0m commit transaction
|
942
|
+
Migrating to CreateNotifications (20151028110352)
|
943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
944
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
945
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
946
|
+
[1m[35m (2.8ms)[0m commit transaction
|
947
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
949
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
950
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_notification_types_on_name" ON "notification_types" ("name")[0m
|
951
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028110353"]]
|
952
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
953
|
+
Migrating to CreateNotificationTypeConfigurations (20151028111239)
|
954
|
+
[1m[36m (8.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
955
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
956
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
957
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
958
|
+
Migrating to CreateUsers (20150213150625)
|
959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
960
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
961
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
962
|
+
[1m[35m (1.1ms)[0m commit transaction
|
963
|
+
Migrating to CreateMessages (20150213152846)
|
964
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
965
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
966
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
967
|
+
[1m[35m (2.1ms)[0m commit transaction
|
968
|
+
Migrating to CreateNotifications (20151028110352)
|
969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
970
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
971
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
972
|
+
[1m[35m (1.2ms)[0m commit transaction
|
973
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
975
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
976
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_notification_types_on_name" ON "notification_types" ("name")[0m
|
977
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028110353"]]
|
978
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
979
|
+
Migrating to CreateNotificationTypeConfigurations (20151028111239)
|
980
|
+
[1m[35m (0.1ms)[0m begin transaction
|
981
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
982
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_notification_type_configurations_on_notification_type_id" ON "notification_type_configurations" ("notification_type_id")
|
983
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
984
|
+
FROM sqlite_master
|
985
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
986
|
+
UNION ALL
|
987
|
+
SELECT sql
|
988
|
+
FROM sqlite_temp_master
|
989
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
990
|
+
[0m
|
991
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "idx_notif_typ_config_on_receiver_type_and_receiver_id" ON "notification_type_configurations" ("receiver_type", "receiver_id")
|
992
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028111239"]]
|
993
|
+
[1m[35m (0.9ms)[0m commit transaction
|
994
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
995
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
996
|
+
FROM sqlite_master
|
997
|
+
WHERE name='idx_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
998
|
+
UNION ALL
|
999
|
+
SELECT sql
|
1000
|
+
FROM sqlite_temp_master
|
1001
|
+
WHERE name='idx_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1002
|
+
|
1003
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
1004
|
+
FROM sqlite_master
|
1005
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1006
|
+
UNION ALL
|
1007
|
+
SELECT sql
|
1008
|
+
FROM sqlite_temp_master
|
1009
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1010
|
+
[0m
|
1011
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
1012
|
+
FROM sqlite_master
|
1013
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
1014
|
+
UNION ALL
|
1015
|
+
SELECT sql
|
1016
|
+
FROM sqlite_temp_master
|
1017
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
1018
|
+
|
1019
|
+
[1m[36mUser Load (2.5ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1020
|
+
[1m[36mNotifyWith::NotificationType Load (2.2ms)[0m [1mSELECT "notification_types".* FROM "notification_types"[0m
|
1021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1022
|
+
[1m[36mNotifyWith::NotificationType Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'bob' LIMIT 1[0m
|
1023
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bob"], ["created_at", "2015-10-28 15:41:20.514388"], ["updated_at", "2015-10-28 15:41:20.514388"]]
|
1024
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1026
|
+
[1m[36mNotifyWith::NotificationType Exists (8.3ms)[0m [1mSELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'bob' LIMIT 1[0m
|
1027
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bob"], ["created_at", "2015-10-28 15:41:31.395237"], ["updated_at", "2015-10-28 15:41:31.395237"]]
|
1028
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1030
|
+
[1m[36mSQL (8.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2015-10-28 15:41:48.043555"], ["updated_at", "2015-10-28 15:41:48.043555"]]
|
1031
|
+
[1m[35m (0.1ms)[0m SELECT "notification_types"."id" FROM "notification_types"
|
1032
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-28 15:41:48.068990"], ["updated_at", "2015-10-28 15:41:48.068990"]]
|
1033
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1035
|
+
[1m[35mNotifyWith::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'bobi' LIMIT 1
|
1036
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "bobi"], ["created_at", "2015-10-28 15:42:00.830743"], ["updated_at", "2015-10-28 15:42:00.830743"]]
|
1037
|
+
[1m[35m (8.2ms)[0m commit transaction
|
1038
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1039
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-10-28 15:42:06.381439"], ["updated_at", "2015-10-28 15:42:06.381439"]]
|
1040
|
+
[1m[36m (0.1ms)[0m [1mSELECT "notification_types"."id" FROM "notification_types"[0m
|
1041
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-10-28 15:42:06.383928"], ["updated_at", "2015-10-28 15:42:06.383928"]]
|
1042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 2], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-10-28 15:42:06.385259"], ["updated_at", "2015-10-28 15:42:06.385259"]]
|
1043
|
+
[1m[35m (8.2ms)[0m commit transaction
|
1044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1045
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-10-28 15:42:07.885524"], ["updated_at", "2015-10-28 15:42:07.885524"]]
|
1046
|
+
[1m[36m (0.1ms)[0m [1mSELECT "notification_types"."id" FROM "notification_types"[0m
|
1047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 3], ["receiver_type", "User"], ["created_at", "2015-10-28 15:42:07.888010"], ["updated_at", "2015-10-28 15:42:07.888010"]]
|
1048
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 2], ["receiver_id", 3], ["receiver_type", "User"], ["created_at", "2015-10-28 15:42:07.889351"], ["updated_at", "2015-10-28 15:42:07.889351"]]
|
1049
|
+
[1m[35m (8.2ms)[0m commit transaction
|
1050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1051
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-10-28 15:42:08.293551"], ["updated_at", "2015-10-28 15:42:08.293551"]]
|
1052
|
+
[1m[36m (0.1ms)[0m [1mSELECT "notification_types"."id" FROM "notification_types"[0m
|
1053
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 4], ["receiver_type", "User"], ["created_at", "2015-10-28 15:42:08.296045"], ["updated_at", "2015-10-28 15:42:08.296045"]]
|
1054
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 2], ["receiver_id", 4], ["receiver_type", "User"], ["created_at", "2015-10-28 15:42:08.297359"], ["updated_at", "2015-10-28 15:42:08.297359"]]
|
1055
|
+
[1m[35m (9.2ms)[0m commit transaction
|
1056
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1057
|
+
[1m[35mNotifyWith::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'bobi' LIMIT 1
|
1058
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1060
|
+
[1m[36mNotifyWith::NotificationType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'bobii' LIMIT 1[0m
|
1061
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bobii"], ["created_at", "2015-10-28 15:42:13.758832"], ["updated_at", "2015-10-28 15:42:13.758832"]]
|
1062
|
+
[1m[36m (8.9ms)[0m [1mcommit transaction[0m
|
1063
|
+
[1m[36mUser Load (2.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1065
|
+
[1m[36mNotifyWith::NotificationType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'lili' LIMIT 1[0m
|
1066
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "lili"], ["created_at", "2015-10-28 15:42:58.470760"], ["updated_at", "2015-10-28 15:42:58.470760"]]
|
1067
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1069
|
+
[1m[36mNotifyWith::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'lili' LIMIT 1[0m
|
1070
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "lili"], ["created_at", "2015-10-28 15:43:19.999413"], ["updated_at", "2015-10-28 15:43:19.999413"]]
|
1071
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1072
|
+
[1m[36mNotifyWith::NotificationType Load (2.0ms)[0m [1mSELECT "notification_types".* FROM "notification_types"[0m
|
1073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1074
|
+
[1m[36mNotifyWith::NotificationType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'lilii' LIMIT 1[0m
|
1075
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "lilii"], ["created_at", "2015-10-28 15:44:10.096843"], ["updated_at", "2015-10-28 15:44:10.096843"]]
|
1076
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
1077
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 5], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-10-28 15:44:10.116184"], ["updated_at", "2015-10-28 15:44:10.116184"]]
|
1078
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 5], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2015-10-28 15:44:10.117853"], ["updated_at", "2015-10-28 15:44:10.117853"]]
|
1079
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 5], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2015-10-28 15:44:10.119057"], ["updated_at", "2015-10-28 15:44:10.119057"]]
|
1080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 5], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2015-10-28 15:44:10.120664"], ["updated_at", "2015-10-28 15:44:10.120664"]]
|
1081
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1082
|
+
[1m[36mNotifyWith::NotificationTypeConfiguration Load (0.6ms)[0m [1mSELECT "notification_type_configurations".* FROM "notification_type_configurations" ORDER BY "notification_type_configurations"."id" ASC LIMIT 1[0m
|
1083
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1084
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "notification_type_configurations"."id" = ?[0m [["value", 0], ["updated_at", "2015-10-28 15:58:07.046518"], ["id", 1]]
|
1085
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1086
|
+
[1m[36mNotifyWith::NotificationTypeConfiguration Load (0.3ms)[0m [1mSELECT "notification_type_configurations".* FROM "notification_type_configurations" WHERE "notification_type_configurations"."id" = ? LIMIT 1[0m [["id", 1]]
|
1087
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1088
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1089
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1090
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1091
|
+
Migrating to CreateUsers (20150213150625)
|
1092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1093
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1094
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1095
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1096
|
+
Migrating to CreateMessages (20150213152846)
|
1097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1098
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1099
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1100
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1101
|
+
Migrating to CreateNotifications (20151028110352)
|
1102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1103
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1104
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
1105
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1106
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
1107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1108
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1109
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_notification_types_on_name" ON "notification_types" ("name")[0m
|
1110
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028110353"]]
|
1111
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
1112
|
+
Migrating to CreateNotificationTypeConfigurations (20151028111239)
|
1113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1114
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1115
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_notification_type_configurations_on_notification_type_id" ON "notification_type_configurations" ("notification_type_id")
|
1116
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1117
|
+
FROM sqlite_master
|
1118
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1119
|
+
UNION ALL
|
1120
|
+
SELECT sql
|
1121
|
+
FROM sqlite_temp_master
|
1122
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1123
|
+
[0m
|
1124
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "idx_notif_typ_config_on_receiver_type_and_receiver_id" ON "notification_type_configurations" ("receiver_type", "receiver_id")
|
1125
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028111239"]]
|
1126
|
+
[1m[35m (1.2ms)[0m commit transaction
|
1127
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1128
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1129
|
+
FROM sqlite_master
|
1130
|
+
WHERE name='idx_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1131
|
+
UNION ALL
|
1132
|
+
SELECT sql
|
1133
|
+
FROM sqlite_temp_master
|
1134
|
+
WHERE name='idx_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1135
|
+
|
1136
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
1137
|
+
FROM sqlite_master
|
1138
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1139
|
+
UNION ALL
|
1140
|
+
SELECT sql
|
1141
|
+
FROM sqlite_temp_master
|
1142
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1143
|
+
[0m
|
1144
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1145
|
+
FROM sqlite_master
|
1146
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
1147
|
+
UNION ALL
|
1148
|
+
SELECT sql
|
1149
|
+
FROM sqlite_temp_master
|
1150
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
1151
|
+
|
1152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1153
|
+
[1m[35mNotifyWith::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'a' LIMIT 1
|
1154
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2015-10-28 15:59:04.640933"], ["updated_at", "2015-10-28 15:59:04.640933"]]
|
1155
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
1156
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
1157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1158
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2015-10-28 15:59:08.282334"], ["updated_at", "2015-10-28 15:59:08.282334"]]
|
1159
|
+
[1m[35m (0.1ms)[0m SELECT "notification_types"."id" FROM "notification_types"
|
1160
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-28 15:59:08.309892"], ["updated_at", "2015-10-28 15:59:08.309892"]]
|
1161
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1162
|
+
[1m[36mNotifyWith::NotificationTypeConfiguration Load (0.3ms)[0m [1mSELECT "notification_type_configurations".* FROM "notification_type_configurations" ORDER BY "notification_type_configurations"."id" ASC LIMIT 1[0m
|
1163
|
+
[1m[36m (9.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1164
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1165
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1166
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1167
|
+
Migrating to CreateUsers (20150213150625)
|
1168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1169
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1170
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1171
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1172
|
+
Migrating to CreateMessages (20150213152846)
|
1173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1174
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1175
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1176
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1177
|
+
Migrating to CreateNotifications (20151028110352)
|
1178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1179
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1180
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
1181
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1182
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
1183
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1184
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1185
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_notification_types_on_name" ON "notification_types" ("name")[0m
|
1186
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028110353"]]
|
1187
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1188
|
+
Migrating to CreateNotificationTypeConfigurations (20151028111239)
|
1189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1190
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1191
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_notification_type_configurations_on_notification_type_id" ON "notification_type_configurations" ("notification_type_id")
|
1192
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1193
|
+
FROM sqlite_master
|
1194
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1195
|
+
UNION ALL
|
1196
|
+
SELECT sql
|
1197
|
+
FROM sqlite_temp_master
|
1198
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1199
|
+
[0m
|
1200
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "idx_notif_typ_config_on_receiver_type_and_receiver_id" ON "notification_type_configurations" ("receiver_type", "receiver_id")
|
1201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028111239"]]
|
1202
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1203
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1204
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1205
|
+
FROM sqlite_master
|
1206
|
+
WHERE name='idx_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1207
|
+
UNION ALL
|
1208
|
+
SELECT sql
|
1209
|
+
FROM sqlite_temp_master
|
1210
|
+
WHERE name='idx_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1211
|
+
|
1212
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1213
|
+
FROM sqlite_master
|
1214
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1215
|
+
UNION ALL
|
1216
|
+
SELECT sql
|
1217
|
+
FROM sqlite_temp_master
|
1218
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1219
|
+
[0m
|
1220
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1221
|
+
FROM sqlite_master
|
1222
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
1223
|
+
UNION ALL
|
1224
|
+
SELECT sql
|
1225
|
+
FROM sqlite_temp_master
|
1226
|
+
WHERE name='index_notification_types_on_name' AND type='index'
|
1227
|
+
|
1228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1229
|
+
[1m[35mNotifyWith::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "notification_types" WHERE "notification_types"."name" = 'a' LIMIT 1
|
1230
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2015-10-28 16:47:44.733039"], ["updated_at", "2015-10-28 16:47:44.733039"]]
|
1231
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
1232
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
1233
|
+
[1m[35mNotifyWith::NotificationType Load (0.3ms)[0m SELECT "notification_types".* FROM "notification_types" ORDER BY "notification_types"."id" DESC LIMIT 1
|
1234
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1235
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1237
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-10-28 16:50:16.353740"], ["updated_at", "2015-10-28 16:50:16.353740"]]
|
1238
|
+
[1m[36m (0.1ms)[0m [1mSELECT "notification_types"."id" FROM "notification_types"[0m
|
1239
|
+
[1m[35mSQL (9.2ms)[0m INSERT INTO "notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-28 16:50:16.364063"], ["updated_at", "2015-10-28 16:50:16.364063"]]
|
1240
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1242
|
+
[1m[36mSQL (8.2ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-28 16:50:20.445651"], ["updated_at", "2015-10-28 16:50:20.445651"]]
|
1243
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1244
|
+
[1m[36mSQL (1.4ms)[0m [1mUPDATE "notifications" SET "is_sent" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
1245
|
+
[1m[35mSQL (9.4ms)[0m UPDATE "notifications" SET "is_sent" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
1246
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "notifications" SET "is_sent" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
1247
|
+
[1m[35mSQL (8.9ms)[0m UPDATE "notifications" SET "is_sent" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
1248
|
+
[1m[36mSQL (9.2ms)[0m [1mUPDATE "notifications" SET "is_sent" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
1249
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1250
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1251
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1252
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1253
|
+
Migrating to CreateUsers (20150213150625)
|
1254
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1255
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1256
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1257
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1258
|
+
Migrating to CreateMessages (20150213152846)
|
1259
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1260
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1261
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1262
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1263
|
+
Migrating to CreateNotifications (20151028110352)
|
1264
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1265
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1266
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028110352"]]
|
1267
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1268
|
+
Migrating to CreateNotificationTypes (20151028110353)
|
1269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1270
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1271
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_notification_types_on_name" ON "notification_types" ("name")[0m
|
1272
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151028110353"]]
|
1273
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1274
|
+
Migrating to CreateNotificationTypeConfigurations (20151028111239)
|
1275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1276
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1277
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_notification_type_configurations_on_notification_type_id" ON "notification_type_configurations" ("notification_type_id")
|
1278
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1279
|
+
FROM sqlite_master
|
1280
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1281
|
+
UNION ALL
|
1282
|
+
SELECT sql
|
1283
|
+
FROM sqlite_temp_master
|
1284
|
+
WHERE name='index_notification_type_configurations_on_notification_type_id' AND type='index'
|
1285
|
+
[0m
|
1286
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "idx_notif_typ_config_on_receiver_type_and_receiver_id" ON "notification_type_configurations" ("receiver_type", "receiver_id")
|
1287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151028111239"]]
|
1288
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1289
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029113254)
|
1290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1291
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1292
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1293
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1294
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1295
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1296
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1297
|
+
Migrating to CreateUsers (20150213150625)
|
1298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1299
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1300
|
+
[1m[36mSQL (5.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1301
|
+
[1m[35m (2.1ms)[0m commit transaction
|
1302
|
+
Migrating to CreateMessages (20150213152846)
|
1303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1304
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1305
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1306
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1307
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029113254)
|
1308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1309
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1310
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1311
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1312
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1313
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1314
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1315
|
+
Migrating to CreateUsers (20150213150625)
|
1316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1317
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1318
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1319
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1320
|
+
Migrating to CreateMessages (20150213152846)
|
1321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1322
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1323
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1324
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1325
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029113657)
|
1326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1327
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1328
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_wupee_notif_type_config_on_notification_type_id" ON "wupee_notification_type_configurations" ("notification_type_id")[0m
|
1329
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1330
|
+
FROM sqlite_master
|
1331
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1332
|
+
UNION ALL
|
1333
|
+
SELECT sql
|
1334
|
+
FROM sqlite_temp_master
|
1335
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1336
|
+
|
1337
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id" ON "wupee_notification_type_configurations" ("receiver_type", "receiver_id")[0m
|
1338
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029113657"]]
|
1339
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1340
|
+
Migrating to CreateWupeeNotifications (20151029113658)
|
1341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1342
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "wupee_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1343
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029113658"]]
|
1344
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
1345
|
+
Migrating to CreateWupeeNotificationTypes (20151029113659)
|
1346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1347
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1348
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_wupee_notification_types_on_name" ON "wupee_notification_types" ("name")
|
1349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029113659"]]
|
1350
|
+
[1m[35m (17.1ms)[0m commit transaction
|
1351
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1352
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
1353
|
+
FROM sqlite_master
|
1354
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1355
|
+
UNION ALL
|
1356
|
+
SELECT sql
|
1357
|
+
FROM sqlite_temp_master
|
1358
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1359
|
+
|
1360
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1361
|
+
FROM sqlite_master
|
1362
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1363
|
+
UNION ALL
|
1364
|
+
SELECT sql
|
1365
|
+
FROM sqlite_temp_master
|
1366
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1367
|
+
[0m
|
1368
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1369
|
+
FROM sqlite_master
|
1370
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1371
|
+
UNION ALL
|
1372
|
+
SELECT sql
|
1373
|
+
FROM sqlite_temp_master
|
1374
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1375
|
+
|
1376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1377
|
+
[1m[35mWupee::NotificationType Exists (0.3ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'a' LIMIT 1
|
1378
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2015-10-29 11:40:03.224947"], ["updated_at", "2015-10-29 11:40:03.224947"]]
|
1379
|
+
[1m[35m (0.3ms)[0m SELECT "users"."id" FROM "users"
|
1380
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
1381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1382
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2015-10-29 11:40:09.743366"], ["updated_at", "2015-10-29 11:40:09.743366"]]
|
1383
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
1384
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1386
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2015-10-29 11:43:42.731619"], ["updated_at", "2015-10-29 11:43:42.731619"]]
|
1387
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
1388
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1 AND "wupee_notification_type_configurations"."receiver_type" = 'User') LIMIT 1[0m
|
1389
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-29 11:43:42.750097"], ["updated_at", "2015-10-29 11:43:42.750097"]]
|
1390
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
1391
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations"
|
1392
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
1393
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" ORDER BY "wupee_notification_types"."id" ASC LIMIT 1
|
1394
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
1395
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" ORDER BY "wupee_notification_types"."id" ASC LIMIT 1
|
1396
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1 AND "wupee_notification_type_configurations"."receiver_type" = 'User') LIMIT 1[0m
|
1397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1398
|
+
[1m[35mWupee::NotificationType Exists (0.5ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
1399
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-10-29 15:01:45.428712"], ["updated_at", "2015-10-29 15:01:45.428712"]]
|
1400
|
+
[1m[35m (0.5ms)[0m SELECT "users"."id" FROM "users"
|
1401
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 2 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
1402
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1403
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 2], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-10-29 15:01:45.480529"], ["updated_at", "2015-10-29 15:01:45.480529"]]
|
1404
|
+
SQLite3::ConstraintException: UNIQUE constraint failed: wupee_notification_type_configurations.receiver_type, wupee_notification_type_configurations.receiver_id: INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)
|
1405
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1406
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.3ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations"[0m
|
1407
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types"
|
1408
|
+
[1m[36mWupee::NotificationType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1[0m
|
1409
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1410
|
+
[1m[36mWupee::NotificationType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1[0m
|
1411
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-10-29 15:02:48.748475"], ["updated_at", "2015-10-29 15:02:48.748475"]]
|
1412
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
1413
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 2 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
1414
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1415
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 2], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-10-29 15:02:48.752975"], ["updated_at", "2015-10-29 15:02:48.752975"]]
|
1416
|
+
SQLite3::ConstraintException: UNIQUE constraint failed: wupee_notification_type_configurations.receiver_type, wupee_notification_type_configurations.receiver_id: INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)
|
1417
|
+
[1m[36m (8.6ms)[0m [1mrollback transaction[0m
|
1418
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1419
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1420
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1421
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1422
|
+
Migrating to CreateUsers (20150213150625)
|
1423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1424
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1425
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1426
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1427
|
+
Migrating to CreateMessages (20150213152846)
|
1428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1429
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1430
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1431
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1432
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029150400)
|
1433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1434
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1435
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "idx_wupee_notif_type_config_on_notification_type_id" ON "wupee_notification_type_configurations" ("notification_type_id")[0m
|
1436
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1437
|
+
FROM sqlite_master
|
1438
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1439
|
+
UNION ALL
|
1440
|
+
SELECT sql
|
1441
|
+
FROM sqlite_temp_master
|
1442
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1443
|
+
|
1444
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id" ON "wupee_notification_type_configurations" ("receiver_type", "receiver_id")[0m
|
1445
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029150400"]]
|
1446
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
1447
|
+
Migrating to CreateWupeeNotifications (20151029150401)
|
1448
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1449
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "wupee_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1450
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029150401"]]
|
1451
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
1452
|
+
Migrating to CreateWupeeNotificationTypes (20151029150402)
|
1453
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1454
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1455
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_wupee_notification_types_on_name" ON "wupee_notification_types" ("name")
|
1456
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029150402"]]
|
1457
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1458
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1459
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
1460
|
+
FROM sqlite_master
|
1461
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1462
|
+
UNION ALL
|
1463
|
+
SELECT sql
|
1464
|
+
FROM sqlite_temp_master
|
1465
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1466
|
+
|
1467
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
1468
|
+
FROM sqlite_master
|
1469
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1470
|
+
UNION ALL
|
1471
|
+
SELECT sql
|
1472
|
+
FROM sqlite_temp_master
|
1473
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1474
|
+
[0m
|
1475
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
1476
|
+
FROM sqlite_master
|
1477
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1478
|
+
UNION ALL
|
1479
|
+
SELECT sql
|
1480
|
+
FROM sqlite_temp_master
|
1481
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1482
|
+
|
1483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1484
|
+
[1m[35mWupee::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
1485
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-10-29 15:04:28.121086"], ["updated_at", "2015-10-29 15:04:28.121086"]]
|
1486
|
+
[1m[35m (0.2ms)[0m SELECT "users"."id" FROM "users"
|
1487
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
1488
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1489
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2015-10-29 15:04:40.674502"], ["updated_at", "2015-10-29 15:04:40.674502"]]
|
1490
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
1491
|
+
[1m[36mWupee::NotificationType Load (0.2ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
1492
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
1493
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-29 15:04:40.709574"], ["updated_at", "2015-10-29 15:04:40.709574"]]
|
1494
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1495
|
+
[1m[36mWupee::NotificationType Load (0.7ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "abc"]]
|
1496
|
+
[1m[36mWupee::NotificationType Load (0.8ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "abc"]]
|
1497
|
+
[1m[36mWupee::NotificationType Load (0.8ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "abc"]]
|
1498
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" ORDER BY "wupee_notification_types"."id" ASC LIMIT 1
|
1499
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1500
|
+
[1m[35mWupee::NotificationType Exists (0.4ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'admin_user_created' LIMIT 1
|
1501
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "admin_user_created"], ["created_at", "2015-10-29 15:53:05.795589"], ["updated_at", "2015-10-29 15:53:05.795589"]]
|
1502
|
+
[1m[35m (0.9ms)[0m SELECT "users"."id" FROM "users"
|
1503
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 2 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
1504
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1505
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 2], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-10-29 15:53:05.850586"], ["updated_at", "2015-10-29 15:53:05.850586"]]
|
1506
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1507
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1508
|
+
[1m[35mWupee::NotificationType Exists (0.5ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'admin_user_created' LIMIT 1
|
1509
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1510
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1511
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1512
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1513
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1514
|
+
Migrating to CreateUsers (20150213150625)
|
1515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1516
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1517
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1518
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1519
|
+
Migrating to CreateMessages (20150213152846)
|
1520
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1521
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1522
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1523
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1524
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1525
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1526
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1527
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1528
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1529
|
+
Migrating to CreateUsers (20150213150625)
|
1530
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1531
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1532
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1533
|
+
[1m[35m (1.2ms)[0m commit transaction
|
1534
|
+
Migrating to CreateMessages (20150213152846)
|
1535
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1536
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1537
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1538
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1539
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029155722)
|
1540
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1541
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1542
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "idx_wupee_notif_type_config_on_notification_type_id" ON "wupee_notification_type_configurations" ("notification_type_id")[0m
|
1543
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
1544
|
+
FROM sqlite_master
|
1545
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1546
|
+
UNION ALL
|
1547
|
+
SELECT sql
|
1548
|
+
FROM sqlite_temp_master
|
1549
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1550
|
+
|
1551
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id" ON "wupee_notification_type_configurations" ("receiver_type", "receiver_id")[0m
|
1552
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029155722"]]
|
1553
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1554
|
+
Migrating to CreateWupeeNotifications (20151029155723)
|
1555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1556
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "wupee_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1557
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029155723"]]
|
1558
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
1559
|
+
Migrating to CreateWupeeNotificationTypes (20151029155724)
|
1560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1561
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1562
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_wupee_notification_types_on_name" ON "wupee_notification_types" ("name")
|
1563
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029155724"]]
|
1564
|
+
[1m[35m (3.8ms)[0m commit transaction
|
1565
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1566
|
+
[1m[35m (0.8ms)[0m SELECT sql
|
1567
|
+
FROM sqlite_master
|
1568
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1569
|
+
UNION ALL
|
1570
|
+
SELECT sql
|
1571
|
+
FROM sqlite_temp_master
|
1572
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1573
|
+
|
1574
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1575
|
+
FROM sqlite_master
|
1576
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1577
|
+
UNION ALL
|
1578
|
+
SELECT sql
|
1579
|
+
FROM sqlite_temp_master
|
1580
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1581
|
+
[0m
|
1582
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
1583
|
+
FROM sqlite_master
|
1584
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1585
|
+
UNION ALL
|
1586
|
+
SELECT sql
|
1587
|
+
FROM sqlite_temp_master
|
1588
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1589
|
+
|
1590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1591
|
+
[1m[35mWupee::NotificationType Exists (0.3ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'admin_user_created' LIMIT 1
|
1592
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "admin_user_created"], ["created_at", "2015-10-29 15:57:33.806956"], ["updated_at", "2015-10-29 15:57:33.806956"]]
|
1593
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
1594
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
1595
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.4ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1[0m
|
1596
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1597
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2015-10-29 16:27:34.812312"], ["updated_at", "2015-10-29 16:27:34.812312"]]
|
1598
|
+
[1m[35m (0.4ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
1599
|
+
[1m[36mWupee::NotificationType Load (0.9ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
1600
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.4ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
1601
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-10-29 16:27:34.852636"], ["updated_at", "2015-10-29 16:27:34.852636"]]
|
1602
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1603
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.3ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1[0m
|
1604
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1
|
1605
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.2ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1[0m
|
1606
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.3ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1
|
1607
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1608
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1609
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1610
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1611
|
+
Migrating to CreateUsers (20150213150625)
|
1612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1613
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1614
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
1615
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1616
|
+
Migrating to CreateMessages (20150213152846)
|
1617
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1618
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1619
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
1620
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1621
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029164356)
|
1622
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1623
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1624
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_wupee_notif_type_config_on_notification_type_id" ON "wupee_notification_type_configurations" ("notification_type_id")[0m
|
1625
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1626
|
+
FROM sqlite_master
|
1627
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1628
|
+
UNION ALL
|
1629
|
+
SELECT sql
|
1630
|
+
FROM sqlite_temp_master
|
1631
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1632
|
+
|
1633
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id" ON "wupee_notification_type_configurations" ("receiver_type", "receiver_id")[0m
|
1634
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029164356"]]
|
1635
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1636
|
+
Migrating to CreateWupeeNotifications (20151029164357)
|
1637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1638
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "wupee_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1639
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029164357"]]
|
1640
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1641
|
+
Migrating to CreateWupeeNotificationTypes (20151029164358)
|
1642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1643
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1644
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_wupee_notification_types_on_name" ON "wupee_notification_types" ("name")
|
1645
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029164358"]]
|
1646
|
+
[1m[35m (1.2ms)[0m commit transaction
|
1647
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1648
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
1649
|
+
FROM sqlite_master
|
1650
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1651
|
+
UNION ALL
|
1652
|
+
SELECT sql
|
1653
|
+
FROM sqlite_temp_master
|
1654
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
1655
|
+
|
1656
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
1657
|
+
FROM sqlite_master
|
1658
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1659
|
+
UNION ALL
|
1660
|
+
SELECT sql
|
1661
|
+
FROM sqlite_temp_master
|
1662
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
1663
|
+
[0m
|
1664
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1665
|
+
FROM sqlite_master
|
1666
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1667
|
+
UNION ALL
|
1668
|
+
SELECT sql
|
1669
|
+
FROM sqlite_temp_master
|
1670
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
1671
|
+
|
1672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1673
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-10-30 08:59:05.114529"], ["updated_at", "2015-10-30 08:59:05.114529"]]
|
1674
|
+
[1m[36m (0.4ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
1675
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1677
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
1678
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-10-30 08:59:16.756817"], ["updated_at", "2015-10-30 08:59:16.756817"]]
|
1679
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
1680
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
1681
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1682
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-10-30 08:59:16.791421"], ["updated_at", "2015-10-30 08:59:16.791421"]]
|
1683
|
+
[1m[35m (1.4ms)[0m commit transaction
|
1684
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
1685
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 1
|
1686
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1)[0m
|
1687
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
1688
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.3ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 1[0m
|
1689
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
|
1690
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
1691
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
|
1692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1693
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "email" = ?, "updated_at" = ? WHERE "users"."id" = ? [["email", "ewfwfe@wefwef.fr"], ["updated_at", "2015-11-02 12:14:35.737753"], ["id", 1]]
|
1694
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1695
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
|
1696
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
1697
|
+
[1m[35mWupee::NotificationType Load (0.6ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
1698
|
+
[1m[36mWupee::NotificationType Load (7.9ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types"[0m
|
1699
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" ORDER BY "wupee_notification_types"."id" DESC LIMIT 1
|
1700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1701
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.7ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."notification_type_id" = ? [["notification_type_id", 1]]
|
1702
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ?[0m [["id", 1]]
|
1703
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? [["id", 1]]
|
1704
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
1705
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1706
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
1707
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-02 12:15:54.892746"], ["updated_at", "2015-11-02 12:15:54.892746"]]
|
1708
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
1709
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 2 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
1710
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1711
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 2], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-02 12:15:54.902152"], ["updated_at", "2015-11-02 12:15:54.902152"]]
|
1712
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1713
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
|
1714
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
1715
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
1716
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.1ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 1 AND "wupee_notification_type_configurations"."notification_type_id" = 2[0m
|
1717
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
|
1718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1719
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "attached_object_id", "attached_object_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 2], ["attached_object_id", 1], ["attached_object_type", "User"], ["created_at", "2015-11-02 12:16:19.861829"], ["updated_at", "2015-11-02 12:16:19.861829"]]
|
1720
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1721
|
+
|
1722
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 6.9ms
|
1723
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
1724
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
1725
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
1726
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 1 AND "wupee_notification_type_configurations"."notification_type_id" = 2
|
1727
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1)[0m
|
1728
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1729
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "attached_object_id", "attached_object_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 2], ["attached_object_id", 1], ["attached_object_type", "User"], ["created_at", "2015-11-02 13:53:07.880148"], ["updated_at", "2015-11-02 13:53:07.880148"]]
|
1730
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1731
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
1732
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 2]]
|
1733
|
+
|
1734
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 172.4ms
|
1735
|
+
|
1736
|
+
Sent mail to ewfwfe@wefwef.fr (9.1ms)
|
1737
|
+
Date: Mon, 02 Nov 2015 14:53:08 +0100
|
1738
|
+
From: contact@sleede.com
|
1739
|
+
To: ewfwfe@wefwef.fr
|
1740
|
+
Message-ID: <56376ac4efb7_15b4b3fe508c601d8438a4@mbp-sleede-nicolas.home.mail>
|
1741
|
+
Subject: notify_new_message ewfwfe@wefwef.fr
|
1742
|
+
Mime-Version: 1.0
|
1743
|
+
Content-Type: text/html;
|
1744
|
+
charset=UTF-8
|
1745
|
+
Content-Transfer-Encoding: 7bit
|
1746
|
+
|
1747
|
+
|
1748
|
+
[1m[35mWupee::Notification Load (0.3ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" ORDER BY "wupee_notifications"."id" DESC LIMIT 1
|
1749
|
+
[1m[36mWupee::Notification Load (0.2ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" ORDER BY "wupee_notifications"."id" DESC LIMIT 1[0m
|
1750
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 2]]
|