weeler 1.6.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +2 -10
  3. data/CHANGELOG.md +12 -0
  4. data/README.md +9 -21
  5. data/Rakefile +4 -4
  6. data/app/assets/javascripts/weeler/init.js +34 -0
  7. data/app/controllers/weeler/settings_controller.rb +1 -1
  8. data/app/controllers/weeler/translations_controller.rb +1 -1
  9. data/app/views/kaminari/weeler/_first_page.html.haml +3 -0
  10. data/app/views/kaminari/weeler/_gap.html.haml +2 -0
  11. data/app/views/kaminari/weeler/_last_page.html.haml +3 -0
  12. data/app/views/kaminari/weeler/_next_page.html.haml +3 -0
  13. data/app/views/kaminari/weeler/_page.html.haml +2 -0
  14. data/app/views/kaminari/weeler/_paginator.html.haml +11 -0
  15. data/app/views/kaminari/weeler/_prev_page.html.haml +3 -0
  16. data/lib/i18n/backend/weeler.rb +1 -1
  17. data/lib/weeler/action_controller/acts/restful.rb +1 -1
  18. data/lib/weeler/engine.rb +0 -2
  19. data/lib/weeler/version.rb +2 -2
  20. data/spec/controllers/translations_controller_spec.rb +8 -8
  21. data/spec/dummy/.ruby-version +1 -0
  22. data/spec/dummy/Rakefile +2 -2
  23. data/spec/dummy/app/assets/config/manifest.js +3 -0
  24. data/spec/dummy/app/assets/stylesheets/application.css +6 -4
  25. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  26. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  27. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  28. data/spec/dummy/app/{assets/javascripts → javascript/packs}/application.js +5 -3
  29. data/spec/dummy/app/jobs/application_job.rb +7 -0
  30. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  31. data/spec/dummy/app/models/application_record.rb +3 -0
  32. data/spec/dummy/app/models/post.rb +1 -1
  33. data/spec/dummy/app/views/layouts/application.html.erb +9 -9
  34. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  35. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  36. data/spec/dummy/bin/rails +1 -1
  37. data/spec/dummy/bin/setup +33 -0
  38. data/spec/dummy/config.ru +2 -1
  39. data/spec/dummy/config/application.rb +19 -13
  40. data/spec/dummy/config/boot.rb +3 -3
  41. data/spec/dummy/config/cable.yml +10 -0
  42. data/spec/dummy/config/environment.rb +2 -2
  43. data/spec/dummy/config/environments/development.rb +38 -5
  44. data/spec/dummy/config/environments/production.rb +64 -32
  45. data/spec/dummy/config/environments/test.rb +20 -8
  46. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  47. data/spec/dummy/config/initializers/assets.rb +12 -0
  48. data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
  49. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  50. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  51. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
  52. data/spec/dummy/config/puma.rb +38 -0
  53. data/spec/dummy/config/spring.rb +6 -0
  54. data/spec/dummy/config/storage.yml +34 -0
  55. data/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb +1 -1
  56. data/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb +1 -1
  57. data/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb +1 -1
  58. data/spec/dummy/db/migrate/20140123083707_translate_weeler_seos.rb +1 -1
  59. data/spec/dummy/db/migrate/20140718103237_create_posts.rb +1 -1
  60. data/spec/dummy/db/migrate/20140726151210_create_translations.rb +1 -1
  61. data/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb +1 -1
  62. data/spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb +1 -1
  63. data/spec/dummy/db/schema.rb +56 -64
  64. data/spec/dummy/{app/mailers/.keep → db/test.sqlite3} +0 -0
  65. data/spec/dummy/log/development.log +0 -1020
  66. data/spec/dummy/public/404.html +24 -15
  67. data/spec/dummy/public/422.html +24 -15
  68. data/spec/dummy/public/500.html +23 -14
  69. data/spec/dummy/{app/models/.keep → public/apple-touch-icon-precomposed.png} +0 -0
  70. data/spec/dummy/public/apple-touch-icon.png +0 -0
  71. data/spec/dummy/storage/.keep +0 -0
  72. data/spec/factories/dummy_posts.rb +3 -3
  73. data/spec/factories/translations.rb +4 -4
  74. data/spec/spec_helper.rb +6 -4
  75. data/spec/weeler/action_controller/acts/restful_spec.rb +5 -4
  76. data/spec/weeler/i18n/backend/weeler_spec.rb +7 -7
  77. data/spec/weeler/i18n/humanize_missing_translations_spec.rb +14 -11
  78. data/weeler.gemspec +17 -12
  79. metadata +97 -58
  80. data/app/assets/javascripts/weeler/init.js.coffee +0 -26
  81. data/app/views/kaminari/weeler/_first_page.html.erb +0 -13
  82. data/app/views/kaminari/weeler/_gap.html.erb +0 -8
  83. data/app/views/kaminari/weeler/_last_page.html.erb +0 -13
  84. data/app/views/kaminari/weeler/_next_page.html.erb +0 -14
  85. data/app/views/kaminari/weeler/_page.html.erb +0 -12
  86. data/app/views/kaminari/weeler/_paginator.html.erb +0 -23
  87. data/app/views/kaminari/weeler/_prev_page.html.erb +0 -13
  88. data/lib/weeler/action_view/helpers/form_helper.rb +0 -13
  89. data/lib/weeler/action_view/helpers/image_form_helper.rb +0 -83
  90. data/spec/dummy/README.rdoc +0 -28
  91. data/spec/dummy/bin/bundle +0 -3
  92. data/spec/dummy/config/initializers/secret_token.rb +0 -12
  93. data/spec/dummy/config/initializers/session_store.rb +0 -3
  94. data/spec/dummy/log/production.log +0 -4
  95. data/spec/weeler/action_view/helpers/form_helper_spec.rb +0 -35
@@ -2,4 +2,3 @@
2
2
 
3
3
  # Add new mime types for use in respond_to blocks:
4
4
  # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -5,10 +5,10 @@
5
5
 
6
6
  # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
7
  ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
8
+ wrap_parameters format: [:json]
9
9
  end
10
10
 
11
11
  # To enable root element in JSON for ActiveRecord objects.
12
12
  # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
13
+ # self.include_root_in_json = true
14
14
  # end
@@ -0,0 +1,38 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers: a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum; this matches the default thread size of Active Record.
6
+ #
7
+ max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
+ min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
9
+ threads min_threads_count, max_threads_count
10
+
11
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
12
+ #
13
+ port ENV.fetch("PORT") { 3000 }
14
+
15
+ # Specifies the `environment` that Puma will run in.
16
+ #
17
+ environment ENV.fetch("RAILS_ENV") { "development" }
18
+
19
+ # Specifies the `pidfile` that Puma will use.
20
+ pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
21
+
22
+ # Specifies the number of `workers` to boot in clustered mode.
23
+ # Workers are forked web server processes. If using threads and workers together
24
+ # the concurrency of the application would be max `threads` * `workers`.
25
+ # Workers do not work on JRuby or Windows (both of which do not support
26
+ # processes).
27
+ #
28
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
29
+
30
+ # Use the `preload_app!` method when specifying a `workers` number.
31
+ # This directive tells Puma to first boot the application and load code
32
+ # before forking the application. This takes advantage of Copy On Write
33
+ # process behavior so workers use less memory.
34
+ #
35
+ # preload_app!
36
+
37
+ # Allow puma to be restarted by `rails restart` command.
38
+ plugin :tmp_restart
@@ -0,0 +1,6 @@
1
+ Spring.watch(
2
+ ".ruby-version",
3
+ ".rbenv-vars",
4
+ "tmp/restart.txt",
5
+ "tmp/caching-dev.txt"
6
+ )
@@ -0,0 +1,34 @@
1
+ test:
2
+ service: Disk
3
+ root: <%= Rails.root.join("tmp/storage") %>
4
+
5
+ local:
6
+ service: Disk
7
+ root: <%= Rails.root.join("storage") %>
8
+
9
+ # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
+ # amazon:
11
+ # service: S3
12
+ # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
+ # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
+ # region: us-east-1
15
+ # bucket: your_own_bucket
16
+
17
+ # Remember not to checkin your GCS keyfile to a repository
18
+ # google:
19
+ # service: GCS
20
+ # project: your_project
21
+ # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
+ # bucket: your_own_bucket
23
+
24
+ # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
+ # microsoft:
26
+ # service: AzureStorage
27
+ # storage_account_name: your_account_name
28
+ # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
+ # container: your_container_name
30
+
31
+ # mirror:
32
+ # service: Mirror
33
+ # primary: local
34
+ # mirrors: [ amazon, google, microsoft ]
@@ -1,4 +1,4 @@
1
- class CreateWeelerSeos < ActiveRecord::Migration
1
+ class CreateWeelerSeos < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :weeler_seos do |t|
4
4
  t.string :title
@@ -1,4 +1,4 @@
1
- class CreateWeelerSettings < ActiveRecord::Migration
1
+ class CreateWeelerSettings < ActiveRecord::Migration[4.2]
2
2
  def self.up
3
3
  create_table :settings do |t|
4
4
  t.string :var, :null => false
@@ -1,4 +1,4 @@
1
- class CreateWeelerTranslations < ActiveRecord::Migration
1
+ class CreateWeelerTranslations < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :weeler_translations do |t|
4
4
  t.string :locale
@@ -1,4 +1,4 @@
1
- class TranslateWeelerSeos < ActiveRecord::Migration
1
+ class TranslateWeelerSeos < ActiveRecord::Migration[4.2]
2
2
  def self.up
3
3
  Weeler::Seo.create_translation_table!({
4
4
  title: :string,
@@ -1,4 +1,4 @@
1
- class CreatePosts < ActiveRecord::Migration
1
+ class CreatePosts < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :posts do |t|
4
4
  t.string :title
@@ -1,4 +1,4 @@
1
- class CreateTranslations < ActiveRecord::Migration
1
+ class CreateTranslations < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :translations do |t|
4
4
  t.references :post, index: true
@@ -1,4 +1,4 @@
1
- class CreateWeelerLocks < ActiveRecord::Migration
1
+ class CreateWeelerLocks < ActiveRecord::Migration[4.2]
2
2
  def self.up
3
3
  create_table :weeler_locks do |t|
4
4
  t.string :name, :limit => 40
@@ -1,4 +1,4 @@
1
- class CreateWeelerTranslationStats < ActiveRecord::Migration
1
+ class CreateWeelerTranslationStats < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :weeler_translation_stats do |t|
4
4
  t.string :key
@@ -1,107 +1,99 @@
1
- # encoding: UTF-8
2
1
  # This file is auto-generated from the current state of the database. Instead
3
2
  # of editing this file, please use the migrations feature of Active Record to
4
3
  # incrementally modify your database, and then regenerate this schema definition.
5
4
  #
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).
5
+ # This file is the source Rails uses to define your schema when running `rails
6
+ # db:schema:load`. When creating a new database, `rails db:schema:load` tends to
7
+ # be faster and is potentially less error prone than running all of your
8
+ # migrations from scratch. Old migrations may fail to apply correctly if those
9
+ # migrations use external dependencies or application code.
11
10
  #
12
11
  # It's strongly recommended that you check this file into your version control system.
13
12
 
14
- ActiveRecord::Schema.define(version: 20160330192005) do
13
+ ActiveRecord::Schema.define(version: 2016_03_30_192005) do
15
14
 
16
15
  # These are extensions that must be enabled in order to support this database
17
16
  enable_extension "plpgsql"
18
17
 
19
- create_table "posts", force: :cascade do |t|
20
- t.string "title"
21
- t.text "body"
22
- t.integer "sequence", default: 0
23
- t.integer "status", default: 0
18
+ create_table "posts", id: :serial, force: :cascade do |t|
19
+ t.string "title"
20
+ t.text "body"
21
+ t.integer "sequence", default: 0
22
+ t.integer "status", default: 0
24
23
  t.datetime "created_at"
25
24
  t.datetime "updated_at"
26
25
  end
27
26
 
28
- create_table "settings", force: :cascade do |t|
29
- t.string "var", null: false
30
- t.text "value"
31
- t.integer "thing_id"
32
- t.string "thing_type", limit: 30
27
+ create_table "settings", id: :serial, force: :cascade do |t|
28
+ t.string "var", null: false
29
+ t.text "value"
30
+ t.integer "thing_id"
31
+ t.string "thing_type", limit: 30
33
32
  t.datetime "created_at"
34
33
  t.datetime "updated_at"
34
+ t.index ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true
35
35
  end
36
36
 
37
- add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true, using: :btree
38
-
39
- create_table "translations", force: :cascade do |t|
40
- t.integer "post_id"
41
- t.string "locale"
42
- t.string "title"
43
- t.text "body"
37
+ create_table "translations", id: :serial, force: :cascade do |t|
38
+ t.integer "post_id"
39
+ t.string "locale"
40
+ t.string "title"
41
+ t.text "body"
44
42
  t.datetime "created_at"
45
43
  t.datetime "updated_at"
44
+ t.index ["post_id"], name: "index_translations_on_post_id"
46
45
  end
47
46
 
48
- add_index "translations", ["post_id"], name: "index_translations_on_post_id", using: :btree
49
-
50
- create_table "weeler_locks", force: :cascade do |t|
51
- t.string "name", limit: 40
47
+ create_table "weeler_locks", id: :serial, force: :cascade do |t|
48
+ t.string "name", limit: 40
52
49
  t.datetime "created_at"
53
50
  t.datetime "updated_at"
51
+ t.index ["name"], name: "index_weeler_locks_on_name", unique: true
54
52
  end
55
53
 
56
- add_index "weeler_locks", ["name"], name: "index_weeler_locks_on_name", unique: true, using: :btree
57
-
58
54
  create_table "weeler_seo_translations", force: :cascade do |t|
59
- t.integer "weeler_seo_id", null: false
60
- t.string "locale", null: false
61
- t.datetime "created_at", null: false
62
- t.datetime "updated_at", null: false
63
- t.string "title"
64
- t.text "description"
65
- t.text "keywords"
55
+ t.integer "weeler_seo_id", null: false
56
+ t.string "locale", null: false
57
+ t.datetime "created_at", precision: 6, null: false
58
+ t.datetime "updated_at", precision: 6, null: false
59
+ t.string "title"
60
+ t.text "description"
61
+ t.text "keywords"
62
+ t.index ["locale"], name: "index_weeler_seo_translations_on_locale"
63
+ t.index ["weeler_seo_id"], name: "index_weeler_seo_translations_on_weeler_seo_id"
66
64
  end
67
65
 
68
- add_index "weeler_seo_translations", ["locale"], name: "index_weeler_seo_translations_on_locale", using: :btree
69
- add_index "weeler_seo_translations", ["weeler_seo_id"], name: "index_weeler_seo_translations_on_weeler_seo_id", using: :btree
70
-
71
- create_table "weeler_seos", force: :cascade do |t|
72
- t.string "title"
73
- t.text "description"
74
- t.text "keywords"
75
- t.string "section"
76
- t.integer "seoable_id"
77
- t.string "seoable_type"
66
+ create_table "weeler_seos", id: :serial, force: :cascade do |t|
67
+ t.string "title"
68
+ t.text "description"
69
+ t.text "keywords"
70
+ t.string "section"
71
+ t.string "seoable_type"
72
+ t.integer "seoable_id"
78
73
  t.datetime "created_at"
79
74
  t.datetime "updated_at"
75
+ t.index ["section"], name: "index_weeler_seos_on_section"
76
+ t.index ["seoable_type", "seoable_id"], name: "index_weeler_seos_on_seoable_type_and_seoable_id"
80
77
  end
81
78
 
82
- add_index "weeler_seos", ["section"], name: "index_weeler_seos_on_section", using: :btree
83
- add_index "weeler_seos", ["seoable_type", "seoable_id"], name: "index_weeler_seos_on_seoable_type_and_seoable_id", using: :btree
84
-
85
- create_table "weeler_translation_stats", force: :cascade do |t|
86
- t.string "key"
87
- t.integer "usage_count", default: 0
79
+ create_table "weeler_translation_stats", id: :serial, force: :cascade do |t|
80
+ t.string "key"
81
+ t.integer "usage_count", default: 0
88
82
  t.datetime "created_at"
89
83
  t.datetime "updated_at"
84
+ t.index ["key"], name: "index_weeler_translation_stats_on_key"
90
85
  end
91
86
 
92
- add_index "weeler_translation_stats", ["key"], name: "index_weeler_translation_stats_on_key", using: :btree
93
-
94
- create_table "weeler_translations", force: :cascade do |t|
95
- t.string "locale"
96
- t.string "key"
97
- t.text "value"
98
- t.text "interpolations"
99
- t.boolean "is_proc", default: false
87
+ create_table "weeler_translations", id: :serial, force: :cascade do |t|
88
+ t.string "locale"
89
+ t.string "key"
90
+ t.text "value"
91
+ t.text "interpolations"
92
+ t.boolean "is_proc", default: false
100
93
  t.datetime "created_at"
101
94
  t.datetime "updated_at"
95
+ t.index ["key"], name: "index_weeler_translations_on_key"
96
+ t.index ["locale"], name: "index_weeler_translations_on_locale"
102
97
  end
103
98
 
104
- add_index "weeler_translations", ["key"], name: "index_weeler_translations_on_key", using: :btree
105
- add_index "weeler_translations", ["locale"], name: "index_weeler_translations_on_locale", using: :btree
106
-
107
99
  end
@@ -1,1020 +0,0 @@
1
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateWeelerTranslations (20131015144655)
5
-  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
6
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
- Migrating to CreateWeelerTranslations (20131015144900)
9
-  (0.1ms) begin transaction
10
-  (0.5ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar(255), "key" varchar(255), "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime) 
11
-  (0.2ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
12
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
13
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131015144900"]]
14
-  (1.7ms) commit transaction
15
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
- I18n::Backend::Weeler::Translation Load (7.2ms) SELECT "weeler_translations".* FROM "weeler_translations" WHERE "weeler_translations"."locale" = 'en' AND ("key" IN ('hello') OR "key" LIKE 'hello.%')
17
-  (0.1ms) begin transaction
18
- SQL (4.6ms) INSERT INTO "weeler_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 17 Oct 2013 11:11:35 UTC +00:00], ["interpolations", "--- []\n"], ["key", "hello"], ["locale", "en"], ["updated_at", Thu, 17 Oct 2013 11:11:35 UTC +00:00], ["value", nil]]
19
-  (1.4ms) commit transaction
20
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
21
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
22
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
- Migrating to CreateWeelerSeos (20140123083704)
24
-  (0.1ms) begin transaction
25
-  (0.3ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "section" varchar(255), "seoable_id" integer, "seoable_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
26
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_id_and_seoable_type" ON "weeler_seos" ("seoable_id", "seoable_type")
27
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
28
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
29
-  (0.7ms) commit transaction
30
- Migrating to CreateWeelerSettings (20140123083705)
31
-  (0.1ms) begin transaction
32
-  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
33
-  (0.8ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
34
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
35
-  (0.7ms) commit transaction
36
- Migrating to CreateWeelerTranslations (20140123083706)
37
-  (0.0ms) begin transaction
38
-  (0.2ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar(255), "key" varchar(255), "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
39
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
40
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
41
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
42
-  (0.6ms) commit transaction
43
- Migrating to TranslateWeelerSeos (20140123083707)
44
-  (0.1ms) begin transaction
45
-  (0.3ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
46
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar(255)
47
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
48
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
49
- Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
50
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
51
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
52
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
53
-  (0.6ms) commit transaction
54
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
55
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
56
- Migrating to CreatePosts (20140718103237)
57
-  (0.0ms) begin transaction
58
-  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) 
59
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
60
-  (0.8ms) commit transaction
61
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
-  (0.1ms)  SELECT sql
63
- FROM sqlite_master
64
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
65
- UNION ALL
66
- SELECT sql
67
- FROM sqlite_temp_master
68
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
69
- 
70
-  (0.1ms) SELECT sql
71
- FROM sqlite_master
72
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
73
- UNION ALL
74
- SELECT sql
75
- FROM sqlite_temp_master
76
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
77
-
78
-  (0.1ms)  SELECT sql
79
- FROM sqlite_master
80
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
81
- UNION ALL
82
- SELECT sql
83
- FROM sqlite_temp_master
84
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
85
- 
86
-  (0.1ms) SELECT sql
87
- FROM sqlite_master
88
- WHERE name='index_weeler_seos_on_section' AND type='index'
89
- UNION ALL
90
- SELECT sql
91
- FROM sqlite_temp_master
92
- WHERE name='index_weeler_seos_on_section' AND type='index'
93
-
94
-  (0.1ms)  SELECT sql
95
- FROM sqlite_master
96
- WHERE name='index_weeler_seos_on_seoable_id_and_seoable_type' AND type='index'
97
- UNION ALL
98
- SELECT sql
99
- FROM sqlite_temp_master
100
- WHERE name='index_weeler_seos_on_seoable_id_and_seoable_type' AND type='index'
101
- 
102
-  (0.1ms) SELECT sql
103
- FROM sqlite_master
104
- WHERE name='index_weeler_translations_on_key' AND type='index'
105
- UNION ALL
106
- SELECT sql
107
- FROM sqlite_temp_master
108
- WHERE name='index_weeler_translations_on_key' AND type='index'
109
-
110
-  (0.1ms)  SELECT sql
111
- FROM sqlite_master
112
- WHERE name='index_weeler_translations_on_locale' AND type='index'
113
- UNION ALL
114
- SELECT sql
115
- FROM sqlite_temp_master
116
- WHERE name='index_weeler_translations_on_locale' AND type='index'
117
- 
118
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
119
-  (0.4ms) select sqlite_version(*)
120
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
121
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
122
- Migrating to CreateWeelerSeos (20140123083704)
123
-  (0.1ms) begin transaction
124
-  (0.3ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "section" varchar(255), "seoable_id" integer, "seoable_type" varchar(255), "created_at" datetime, "updated_at" datetime)
125
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_id_and_seoable_type" ON "weeler_seos" ("seoable_id", "seoable_type")
126
-  (0.1ms) SELECT sql
127
- FROM sqlite_master
128
- WHERE name='index_weeler_seos_on_seoable_id_and_seoable_type' AND type='index'
129
- UNION ALL
130
- SELECT sql
131
- FROM sqlite_temp_master
132
- WHERE name='index_weeler_seos_on_seoable_id_and_seoable_type' AND type='index'
133
-
134
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
135
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
136
-  (0.5ms) commit transaction
137
- Migrating to CreateWeelerSettings (20140123083705)
138
-  (0.0ms) begin transaction
139
-  (0.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
140
-  (0.8ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
141
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
142
-  (0.6ms) commit transaction
143
- Migrating to CreateWeelerTranslations (20140123083706)
144
-  (0.0ms) begin transaction
145
-  (0.2ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar(255), "key" varchar(255), "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
146
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
147
-  (0.1ms) SELECT sql
148
- FROM sqlite_master
149
- WHERE name='index_weeler_translations_on_locale' AND type='index'
150
- UNION ALL
151
- SELECT sql
152
- FROM sqlite_temp_master
153
- WHERE name='index_weeler_translations_on_locale' AND type='index'
154
-
155
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
156
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
157
-  (0.5ms) commit transaction
158
- Migrating to TranslateWeelerSeos (20140123083707)
159
-  (0.0ms) begin transaction
160
-  (0.3ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) 
161
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar(255)
162
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
163
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
164
- Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
165
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
166
-  (0.1ms)  SELECT sql
167
- FROM sqlite_master
168
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
169
- UNION ALL
170
- SELECT sql
171
- FROM sqlite_temp_master
172
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
173
- 
174
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
175
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
176
-  (0.5ms) commit transaction
177
- Migrating to CreatePosts (20140718103237)
178
-  (0.1ms) begin transaction
179
-  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
180
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
181
-  (0.5ms) commit transaction
182
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
-  (0.1ms) SELECT sql
184
- FROM sqlite_master
185
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
186
- UNION ALL
187
- SELECT sql
188
- FROM sqlite_temp_master
189
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
190
-
191
-  (0.1ms)  SELECT sql
192
- FROM sqlite_master
193
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
194
- UNION ALL
195
- SELECT sql
196
- FROM sqlite_temp_master
197
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
198
- 
199
-  (0.1ms) SELECT sql
200
- FROM sqlite_master
201
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
202
- UNION ALL
203
- SELECT sql
204
- FROM sqlite_temp_master
205
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
206
-
207
-  (0.1ms)  SELECT sql
208
- FROM sqlite_master
209
- WHERE name='index_weeler_seos_on_section' AND type='index'
210
- UNION ALL
211
- SELECT sql
212
- FROM sqlite_temp_master
213
- WHERE name='index_weeler_seos_on_section' AND type='index'
214
- 
215
-  (0.1ms) SELECT sql
216
- FROM sqlite_master
217
- WHERE name='index_weeler_seos_on_seoable_id_and_seoable_type' AND type='index'
218
- UNION ALL
219
- SELECT sql
220
- FROM sqlite_temp_master
221
- WHERE name='index_weeler_seos_on_seoable_id_and_seoable_type' AND type='index'
222
-
223
-  (0.1ms)  SELECT sql
224
- FROM sqlite_master
225
- WHERE name='index_weeler_translations_on_key' AND type='index'
226
- UNION ALL
227
- SELECT sql
228
- FROM sqlite_temp_master
229
- WHERE name='index_weeler_translations_on_key' AND type='index'
230
- 
231
-  (0.1ms) SELECT sql
232
- FROM sqlite_master
233
- WHERE name='index_weeler_translations_on_locale' AND type='index'
234
- UNION ALL
235
- SELECT sql
236
- FROM sqlite_temp_master
237
- WHERE name='index_weeler_translations_on_locale' AND type='index'
238
-
239
- Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
240
- Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
241
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
242
-
243
- You can opt into the new behavior and remove this warning by setting:
244
-
245
- config.active_record.raise_in_transactional_callbacks = true
246
-
247
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
248
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
249
-
250
- You can opt into the new behavior and remove this warning by setting:
251
-
252
- config.active_record.raise_in_transactional_callbacks = true
253
-
254
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
255
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
256
-  (0.5ms) select sqlite_version(*)
257
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
258
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
- Migrating to CreateWeelerSeos (20140123083704)
260
-  (0.0ms) begin transaction
261
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
262
-  (0.3ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "keywords" text, "section" varchar, "seoable_id" integer, "seoable_type" varchar, "created_at" datetime, "updated_at" datetime)
263
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
264
-  (0.1ms) SELECT sql
265
- FROM sqlite_master
266
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
267
- UNION ALL
268
- SELECT sql
269
- FROM sqlite_temp_master
270
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
271
-
272
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
273
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
274
-  (0.6ms) commit transaction
275
- Migrating to CreateWeelerSettings (20140123083705)
276
-  (0.0ms) begin transaction
277
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
278
-  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
279
-  (0.3ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
280
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
281
-  (0.8ms) commit transaction
282
- Migrating to CreateWeelerTranslations (20140123083706)
283
-  (0.0ms) begin transaction
284
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
285
-  (0.2ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar, "key" varchar, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
286
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
287
-  (0.0ms) SELECT sql
288
- FROM sqlite_master
289
- WHERE name='index_weeler_translations_on_locale' AND type='index'
290
- UNION ALL
291
- SELECT sql
292
- FROM sqlite_temp_master
293
- WHERE name='index_weeler_translations_on_locale' AND type='index'
294
-
295
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
296
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
297
-  (0.4ms) commit transaction
298
- Migrating to TranslateWeelerSeos (20140123083707)
299
-  (0.0ms) begin transaction
300
-  (0.4ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
301
-  (0.5ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar
302
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
303
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
304
- Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
305
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
306
-  (0.0ms)  SELECT sql
307
- FROM sqlite_master
308
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
309
- UNION ALL
310
- SELECT sql
311
- FROM sqlite_temp_master
312
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
313
- 
314
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
315
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
316
-  (0.5ms) commit transaction
317
- Migrating to CreatePosts (20140718103237)
318
-  (0.0ms) begin transaction
319
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
320
-  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
321
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
322
-  (0.5ms) commit transaction
323
- Migrating to CreateTranslations (20140726151210)
324
-  (0.0ms) begin transaction
325
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
326
-  (0.2ms) CREATE TABLE "translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "locale" varchar, "title" varchar, "body" text, "created_at" datetime, "updated_at" datetime)
327
-  (0.1ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
328
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
329
-  (0.5ms) commit transaction
330
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
331
-  (0.1ms)  SELECT sql
332
- FROM sqlite_master
333
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
334
- UNION ALL
335
- SELECT sql
336
- FROM sqlite_temp_master
337
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
338
- 
339
-  (0.1ms) SELECT sql
340
- FROM sqlite_master
341
- WHERE name='index_translations_on_post_id' AND type='index'
342
- UNION ALL
343
- SELECT sql
344
- FROM sqlite_temp_master
345
- WHERE name='index_translations_on_post_id' AND type='index'
346
-
347
-  (0.1ms)  SELECT sql
348
- FROM sqlite_master
349
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
350
- UNION ALL
351
- SELECT sql
352
- FROM sqlite_temp_master
353
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
354
- 
355
-  (0.1ms) SELECT sql
356
- FROM sqlite_master
357
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
358
- UNION ALL
359
- SELECT sql
360
- FROM sqlite_temp_master
361
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
362
-
363
-  (0.1ms)  SELECT sql
364
- FROM sqlite_master
365
- WHERE name='index_weeler_seos_on_section' AND type='index'
366
- UNION ALL
367
- SELECT sql
368
- FROM sqlite_temp_master
369
- WHERE name='index_weeler_seos_on_section' AND type='index'
370
- 
371
-  (0.1ms) SELECT sql
372
- FROM sqlite_master
373
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
374
- UNION ALL
375
- SELECT sql
376
- FROM sqlite_temp_master
377
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
378
-
379
-  (0.1ms)  SELECT sql
380
- FROM sqlite_master
381
- WHERE name='index_weeler_translations_on_key' AND type='index'
382
- UNION ALL
383
- SELECT sql
384
- FROM sqlite_temp_master
385
- WHERE name='index_weeler_translations_on_key' AND type='index'
386
- 
387
-  (0.1ms) SELECT sql
388
- FROM sqlite_master
389
- WHERE name='index_weeler_translations_on_locale' AND type='index'
390
- UNION ALL
391
- SELECT sql
392
- FROM sqlite_temp_master
393
- WHERE name='index_weeler_translations_on_locale' AND type='index'
394
-
395
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
396
-
397
- You can opt into the new behavior and remove this warning by setting:
398
-
399
- config.active_record.raise_in_transactional_callbacks = true
400
-
401
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
402
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
403
-
404
- You can opt into the new behavior and remove this warning by setting:
405
-
406
- config.active_record.raise_in_transactional_callbacks = true
407
-
408
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
409
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
410
-  (0.1ms) select sqlite_version(*)
411
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
412
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
413
- Migrating to CreateWeelerSeos (20140123083704)
414
-  (0.1ms) begin transaction
415
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
416
-  (0.4ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "keywords" text, "section" varchar, "seoable_id" integer, "seoable_type" varchar, "created_at" datetime, "updated_at" datetime)
417
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
418
-  (0.1ms) SELECT sql
419
- FROM sqlite_master
420
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
421
- UNION ALL
422
- SELECT sql
423
- FROM sqlite_temp_master
424
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
425
-
426
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
427
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
428
-  (0.7ms) commit transaction
429
- Migrating to CreateWeelerSettings (20140123083705)
430
-  (0.0ms) begin transaction
431
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
432
-  (0.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
433
-  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
434
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
435
-  (0.7ms) commit transaction
436
- Migrating to CreateWeelerTranslations (20140123083706)
437
-  (0.0ms) begin transaction
438
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
439
-  (0.3ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar, "key" varchar, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
440
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
441
-  (0.0ms) SELECT sql
442
- FROM sqlite_master
443
- WHERE name='index_weeler_translations_on_locale' AND type='index'
444
- UNION ALL
445
- SELECT sql
446
- FROM sqlite_temp_master
447
- WHERE name='index_weeler_translations_on_locale' AND type='index'
448
-
449
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
450
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
451
-  (0.4ms) commit transaction
452
- Migrating to TranslateWeelerSeos (20140123083707)
453
-  (0.0ms) begin transaction
454
-  (0.3ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
455
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar
456
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
457
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
458
- Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
459
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
460
-  (0.0ms)  SELECT sql
461
- FROM sqlite_master
462
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
463
- UNION ALL
464
- SELECT sql
465
- FROM sqlite_temp_master
466
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
467
- 
468
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
469
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
470
-  (0.5ms) commit transaction
471
- Migrating to CreatePosts (20140718103237)
472
-  (0.1ms) begin transaction
473
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
474
-  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
475
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
476
-  (0.5ms) commit transaction
477
- Migrating to CreateTranslations (20140726151210)
478
-  (0.0ms) begin transaction
479
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
480
-  (0.2ms) CREATE TABLE "translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "locale" varchar, "title" varchar, "body" text, "created_at" datetime, "updated_at" datetime)
481
-  (0.1ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
482
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
483
-  (0.4ms) commit transaction
484
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
485
-  (0.1ms)  SELECT sql
486
- FROM sqlite_master
487
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
488
- UNION ALL
489
- SELECT sql
490
- FROM sqlite_temp_master
491
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
492
- 
493
-  (0.1ms) SELECT sql
494
- FROM sqlite_master
495
- WHERE name='index_translations_on_post_id' AND type='index'
496
- UNION ALL
497
- SELECT sql
498
- FROM sqlite_temp_master
499
- WHERE name='index_translations_on_post_id' AND type='index'
500
-
501
-  (0.1ms)  SELECT sql
502
- FROM sqlite_master
503
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
504
- UNION ALL
505
- SELECT sql
506
- FROM sqlite_temp_master
507
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
508
- 
509
-  (0.1ms) SELECT sql
510
- FROM sqlite_master
511
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
512
- UNION ALL
513
- SELECT sql
514
- FROM sqlite_temp_master
515
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
516
-
517
-  (0.1ms)  SELECT sql
518
- FROM sqlite_master
519
- WHERE name='index_weeler_seos_on_section' AND type='index'
520
- UNION ALL
521
- SELECT sql
522
- FROM sqlite_temp_master
523
- WHERE name='index_weeler_seos_on_section' AND type='index'
524
- 
525
-  (0.1ms) SELECT sql
526
- FROM sqlite_master
527
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
528
- UNION ALL
529
- SELECT sql
530
- FROM sqlite_temp_master
531
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
532
-
533
-  (0.1ms)  SELECT sql
534
- FROM sqlite_master
535
- WHERE name='index_weeler_translations_on_key' AND type='index'
536
- UNION ALL
537
- SELECT sql
538
- FROM sqlite_temp_master
539
- WHERE name='index_weeler_translations_on_key' AND type='index'
540
- 
541
-  (0.1ms) SELECT sql
542
- FROM sqlite_master
543
- WHERE name='index_weeler_translations_on_locale' AND type='index'
544
- UNION ALL
545
- SELECT sql
546
- FROM sqlite_temp_master
547
- WHERE name='index_weeler_translations_on_locale' AND type='index'
548
-
549
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
550
-
551
- You can opt into the new behavior and remove this warning by setting:
552
-
553
- config.active_record.raise_in_transactional_callbacks = true
554
-
555
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
556
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
557
-
558
- You can opt into the new behavior and remove this warning by setting:
559
-
560
- config.active_record.raise_in_transactional_callbacks = true
561
-
562
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
563
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
564
-  (0.1ms) select sqlite_version(*)
565
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
566
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
567
- Migrating to CreateWeelerSeos (20140123083704)
568
-  (0.0ms) begin transaction
569
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
570
-  (0.3ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "keywords" text, "section" varchar, "seoable_id" integer, "seoable_type" varchar, "created_at" datetime, "updated_at" datetime)
571
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
572
-  (0.1ms) SELECT sql
573
- FROM sqlite_master
574
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
575
- UNION ALL
576
- SELECT sql
577
- FROM sqlite_temp_master
578
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
579
-
580
-  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
581
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
582
-  (0.6ms) commit transaction
583
- Migrating to CreateWeelerSettings (20140123083705)
584
-  (0.0ms) begin transaction
585
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
586
-  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
587
-  (0.3ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
588
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
589
-  (0.7ms) commit transaction
590
- Migrating to CreateWeelerTranslations (20140123083706)
591
-  (0.0ms) begin transaction
592
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
593
-  (0.3ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar, "key" varchar, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
594
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
595
-  (0.0ms) SELECT sql
596
- FROM sqlite_master
597
- WHERE name='index_weeler_translations_on_locale' AND type='index'
598
- UNION ALL
599
- SELECT sql
600
- FROM sqlite_temp_master
601
- WHERE name='index_weeler_translations_on_locale' AND type='index'
602
-
603
-  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
604
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
605
-  (0.6ms) commit transaction
606
- Migrating to TranslateWeelerSeos (20140123083707)
607
-  (0.0ms) begin transaction
608
-  (0.2ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
609
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar
610
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
611
-  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
612
- Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
613
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
614
-  (0.1ms)  SELECT sql
615
- FROM sqlite_master
616
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
617
- UNION ALL
618
- SELECT sql
619
- FROM sqlite_temp_master
620
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
621
- 
622
-  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
623
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
624
-  (0.5ms) commit transaction
625
- Migrating to CreatePosts (20140718103237)
626
-  (0.0ms) begin transaction
627
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
628
-  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
629
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
630
-  (0.5ms) commit transaction
631
- Migrating to CreateTranslations (20140726151210)
632
-  (0.1ms) begin transaction
633
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
634
-  (0.3ms) CREATE TABLE "translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "locale" varchar, "title" varchar, "body" text, "created_at" datetime, "updated_at" datetime)
635
-  (0.1ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
636
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
637
-  (1.3ms) commit transaction
638
- Migrating to CreateWeelerLocks (20160330161101)
639
-  (0.0ms) begin transaction
640
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb:5)
641
-  (0.2ms) CREATE TABLE "weeler_locks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(40), "created_at" datetime, "updated_at" datetime) 
642
-  (0.3ms) CREATE UNIQUE INDEX "index_weeler_locks_on_name" ON "weeler_locks" ("name")
643
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160330161101"]]
644
-  (1.6ms) commit transaction
645
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
646
-  (0.1ms) SELECT sql
647
- FROM sqlite_master
648
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
649
- UNION ALL
650
- SELECT sql
651
- FROM sqlite_temp_master
652
- WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
653
-
654
-  (0.1ms)  SELECT sql
655
- FROM sqlite_master
656
- WHERE name='index_translations_on_post_id' AND type='index'
657
- UNION ALL
658
- SELECT sql
659
- FROM sqlite_temp_master
660
- WHERE name='index_translations_on_post_id' AND type='index'
661
- 
662
-  (0.1ms) SELECT sql
663
- FROM sqlite_master
664
- WHERE name='index_weeler_locks_on_name' AND type='index'
665
- UNION ALL
666
- SELECT sql
667
- FROM sqlite_temp_master
668
- WHERE name='index_weeler_locks_on_name' AND type='index'
669
-
670
-  (0.1ms)  SELECT sql
671
- FROM sqlite_master
672
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
673
- UNION ALL
674
- SELECT sql
675
- FROM sqlite_temp_master
676
- WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
677
- 
678
-  (0.1ms) SELECT sql
679
- FROM sqlite_master
680
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
681
- UNION ALL
682
- SELECT sql
683
- FROM sqlite_temp_master
684
- WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
685
-
686
-  (0.1ms)  SELECT sql
687
- FROM sqlite_master
688
- WHERE name='index_weeler_seos_on_section' AND type='index'
689
- UNION ALL
690
- SELECT sql
691
- FROM sqlite_temp_master
692
- WHERE name='index_weeler_seos_on_section' AND type='index'
693
- 
694
-  (0.1ms) SELECT sql
695
- FROM sqlite_master
696
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
697
- UNION ALL
698
- SELECT sql
699
- FROM sqlite_temp_master
700
- WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
701
-
702
-  (0.1ms)  SELECT sql
703
- FROM sqlite_master
704
- WHERE name='index_weeler_translations_on_key' AND type='index'
705
- UNION ALL
706
- SELECT sql
707
- FROM sqlite_temp_master
708
- WHERE name='index_weeler_translations_on_key' AND type='index'
709
- 
710
-  (0.1ms) SELECT sql
711
- FROM sqlite_master
712
- WHERE name='index_weeler_translations_on_locale' AND type='index'
713
- UNION ALL
714
- SELECT sql
715
- FROM sqlite_temp_master
716
- WHERE name='index_weeler_translations_on_locale' AND type='index'
717
-
718
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
719
-
720
- You can opt into the new behavior and remove this warning by setting:
721
-
722
- config.active_record.raise_in_transactional_callbacks = true
723
-
724
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
725
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
726
-
727
- You can opt into the new behavior and remove this warning by setting:
728
-
729
- config.active_record.raise_in_transactional_callbacks = true
730
-
731
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
732
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
733
-
734
- You can opt into the new behavior and remove this warning by setting:
735
-
736
- config.active_record.raise_in_transactional_callbacks = true
737
-
738
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
739
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
740
-
741
- You can opt into the new behavior and remove this warning by setting:
742
-
743
- config.active_record.raise_in_transactional_callbacks = true
744
-
745
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
746
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
747
-
748
- You can opt into the new behavior and remove this warning by setting:
749
-
750
- config.active_record.raise_in_transactional_callbacks = true
751
-
752
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
753
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
754
-
755
- You can opt into the new behavior and remove this warning by setting:
756
-
757
- config.active_record.raise_in_transactional_callbacks = true
758
-
759
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
760
-  (14.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
761
-  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
762
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
763
- Migrating to CreateWeelerSeos (20140123083704)
764
-  (0.1ms) BEGIN
765
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
766
-  (6.4ms) CREATE TABLE "weeler_seos" ("id" serial primary key, "title" character varying, "description" text, "keywords" text, "section" character varying, "seoable_id" integer, "seoable_type" character varying, "created_at" timestamp, "updated_at" timestamp) 
767
-  (1.0ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
768
-  (0.9ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
769
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083704"]]
770
-  (0.6ms) COMMIT
771
- Migrating to CreateWeelerSettings (20140123083705)
772
-  (0.3ms) BEGIN
773
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
774
-  (3.9ms) CREATE TABLE "settings" ("id" serial primary key, "var" character varying NOT NULL, "value" text, "thing_id" integer, "thing_type" character varying(30), "created_at" timestamp, "updated_at" timestamp) 
775
-  (1.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
776
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083705"]]
777
-  (0.4ms) COMMIT
778
- Migrating to CreateWeelerTranslations (20140123083706)
779
-  (0.3ms) BEGIN
780
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
781
-  (8.8ms) CREATE TABLE "weeler_translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
782
-  (0.7ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
783
-  (0.7ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
784
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083706"]]
785
-  (0.3ms) COMMIT
786
- Migrating to TranslateWeelerSeos (20140123083707)
787
-  (0.2ms) BEGIN
788
-  (3.5ms) CREATE TABLE "weeler_seo_translations" ("id" serial primary key, "weeler_seo_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
789
-  (3.7ms) ALTER TABLE "weeler_seo_translations" ADD "title" character varying
790
-  (0.3ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
791
-  (0.2ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
792
- Weeler::Seo Load (0.7ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
793
-  (0.9ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
794
-  (1.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
795
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083707"]]
796
-  (2.3ms) COMMIT
797
- Migrating to CreatePosts (20140718103237)
798
-  (0.3ms) BEGIN
799
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
800
-  (3.3ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" timestamp, "updated_at" timestamp)
801
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140718103237"]]
802
-  (0.3ms) COMMIT
803
- Migrating to CreateTranslations (20140726151210)
804
-  (0.2ms) BEGIN
805
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
806
-  (3.3ms) CREATE TABLE "translations" ("id" serial primary key, "post_id" integer, "locale" character varying, "title" character varying, "body" text, "created_at" timestamp, "updated_at" timestamp)
807
-  (0.8ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
808
- SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140726151210"]]
809
-  (0.3ms) COMMIT
810
- Migrating to CreateWeelerLocks (20160330161101)
811
-  (0.2ms) BEGIN
812
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb:5)
813
-  (2.1ms) CREATE TABLE "weeler_locks" ("id" serial primary key, "name" character varying(40), "created_at" timestamp, "updated_at" timestamp) 
814
-  (1.2ms) CREATE UNIQUE INDEX "index_weeler_locks_on_name" ON "weeler_locks" ("name")
815
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160330161101"]]
816
-  (0.3ms) COMMIT
817
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
818
-  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
819
- FROM pg_constraint c
820
- JOIN pg_class t1 ON c.conrelid = t1.oid
821
- JOIN pg_class t2 ON c.confrelid = t2.oid
822
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
823
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
824
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
825
- WHERE c.contype = 'f'
826
- AND t1.relname = 'posts'
827
- AND t3.nspname = ANY (current_schemas(false))
828
- ORDER BY c.conname
829
-
830
-  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
831
- FROM pg_constraint c
832
- JOIN pg_class t1 ON c.conrelid = t1.oid
833
- JOIN pg_class t2 ON c.confrelid = t2.oid
834
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
835
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
836
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
837
- WHERE c.contype = 'f'
838
- AND t1.relname = 'settings'
839
- AND t3.nspname = ANY (current_schemas(false))
840
- ORDER BY c.conname
841
- 
842
-  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
843
- FROM pg_constraint c
844
- JOIN pg_class t1 ON c.conrelid = t1.oid
845
- JOIN pg_class t2 ON c.confrelid = t2.oid
846
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
847
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
848
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
849
- WHERE c.contype = 'f'
850
- AND t1.relname = 'translations'
851
- AND t3.nspname = ANY (current_schemas(false))
852
- ORDER BY c.conname
853
-
854
-  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
855
- FROM pg_constraint c
856
- JOIN pg_class t1 ON c.conrelid = t1.oid
857
- JOIN pg_class t2 ON c.confrelid = t2.oid
858
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
859
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
860
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
861
- WHERE c.contype = 'f'
862
- AND t1.relname = 'weeler_locks'
863
- AND t3.nspname = ANY (current_schemas(false))
864
- ORDER BY c.conname
865
- 
866
-  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
867
- FROM pg_constraint c
868
- JOIN pg_class t1 ON c.conrelid = t1.oid
869
- JOIN pg_class t2 ON c.confrelid = t2.oid
870
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
871
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
872
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
873
- WHERE c.contype = 'f'
874
- AND t1.relname = 'weeler_seo_translations'
875
- AND t3.nspname = ANY (current_schemas(false))
876
- ORDER BY c.conname
877
-
878
-  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
879
- FROM pg_constraint c
880
- JOIN pg_class t1 ON c.conrelid = t1.oid
881
- JOIN pg_class t2 ON c.confrelid = t2.oid
882
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
883
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
884
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
885
- WHERE c.contype = 'f'
886
- AND t1.relname = 'weeler_seos'
887
- AND t3.nspname = ANY (current_schemas(false))
888
- ORDER BY c.conname
889
- 
890
-  (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
891
- FROM pg_constraint c
892
- JOIN pg_class t1 ON c.conrelid = t1.oid
893
- JOIN pg_class t2 ON c.confrelid = t2.oid
894
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
895
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
896
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
897
- WHERE c.contype = 'f'
898
- AND t1.relname = 'weeler_translations'
899
- AND t3.nspname = ANY (current_schemas(false))
900
- ORDER BY c.conname
901
-
902
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
903
-
904
- You can opt into the new behavior and remove this warning by setting:
905
-
906
- config.active_record.raise_in_transactional_callbacks = true
907
-
908
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
909
- DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
910
-
911
- You can opt into the new behavior and remove this warning by setting:
912
-
913
- config.active_record.raise_in_transactional_callbacks = true
914
-
915
- (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
916
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
917
- Migrating to CreateWeelerTranslationStats (20160330192005)
918
-  (0.2ms) BEGIN
919
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb:7)
920
-  (16.2ms) CREATE TABLE "weeler_translation_stats" ("id" serial primary key, "key" character varying, "usage_count" integer DEFAULT 0, "created_at" timestamp, "updated_at" timestamp) 
921
-  (1.2ms) CREATE INDEX "index_weeler_translation_stats_on_key" ON "weeler_translation_stats" ("key")
922
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160330192005"]]
923
-  (0.6ms) COMMIT
924
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
925
-  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
926
- FROM pg_constraint c
927
- JOIN pg_class t1 ON c.conrelid = t1.oid
928
- JOIN pg_class t2 ON c.confrelid = t2.oid
929
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
930
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
931
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
932
- WHERE c.contype = 'f'
933
- AND t1.relname = 'posts'
934
- AND t3.nspname = ANY (current_schemas(false))
935
- ORDER BY c.conname
936
-
937
-  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
938
- FROM pg_constraint c
939
- JOIN pg_class t1 ON c.conrelid = t1.oid
940
- JOIN pg_class t2 ON c.confrelid = t2.oid
941
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
942
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
943
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
944
- WHERE c.contype = 'f'
945
- AND t1.relname = 'settings'
946
- AND t3.nspname = ANY (current_schemas(false))
947
- ORDER BY c.conname
948
- 
949
-  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
950
- FROM pg_constraint c
951
- JOIN pg_class t1 ON c.conrelid = t1.oid
952
- JOIN pg_class t2 ON c.confrelid = t2.oid
953
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
954
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
955
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
956
- WHERE c.contype = 'f'
957
- AND t1.relname = 'translations'
958
- AND t3.nspname = ANY (current_schemas(false))
959
- ORDER BY c.conname
960
-
961
-  (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
962
- FROM pg_constraint c
963
- JOIN pg_class t1 ON c.conrelid = t1.oid
964
- JOIN pg_class t2 ON c.confrelid = t2.oid
965
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
966
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
967
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
968
- WHERE c.contype = 'f'
969
- AND t1.relname = 'weeler_locks'
970
- AND t3.nspname = ANY (current_schemas(false))
971
- ORDER BY c.conname
972
- 
973
-  (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
974
- FROM pg_constraint c
975
- JOIN pg_class t1 ON c.conrelid = t1.oid
976
- JOIN pg_class t2 ON c.confrelid = t2.oid
977
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
978
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
979
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
980
- WHERE c.contype = 'f'
981
- AND t1.relname = 'weeler_seo_translations'
982
- AND t3.nspname = ANY (current_schemas(false))
983
- ORDER BY c.conname
984
-
985
-  (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
986
- FROM pg_constraint c
987
- JOIN pg_class t1 ON c.conrelid = t1.oid
988
- JOIN pg_class t2 ON c.confrelid = t2.oid
989
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
990
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
991
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
992
- WHERE c.contype = 'f'
993
- AND t1.relname = 'weeler_seos'
994
- AND t3.nspname = ANY (current_schemas(false))
995
- ORDER BY c.conname
996
- 
997
-  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
998
- FROM pg_constraint c
999
- JOIN pg_class t1 ON c.conrelid = t1.oid
1000
- JOIN pg_class t2 ON c.confrelid = t2.oid
1001
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1002
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1003
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
1004
- WHERE c.contype = 'f'
1005
- AND t1.relname = 'weeler_translation_stats'
1006
- AND t3.nspname = ANY (current_schemas(false))
1007
- ORDER BY c.conname
1008
-
1009
-  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1010
- FROM pg_constraint c
1011
- JOIN pg_class t1 ON c.conrelid = t1.oid
1012
- JOIN pg_class t2 ON c.confrelid = t2.oid
1013
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1014
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1015
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
1016
- WHERE c.contype = 'f'
1017
- AND t1.relname = 'weeler_translations'
1018
- AND t3.nspname = ANY (current_schemas(false))
1019
- ORDER BY c.conname
1020
-