weeler 1.4.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +13 -3
- data/CHANGELOG.md +24 -0
- data/Rakefile +4 -0
- data/app/controllers/weeler/translations_controller.rb +13 -7
- data/app/views/weeler/translations/_translation.html.haml +2 -2
- data/app/views/weeler/translations/edit.html.haml +3 -3
- data/app/views/weeler/translations/new.html.haml +2 -2
- data/app/views/weeler/translations/usage_stats.html.haml +10 -4
- data/lib/generators/weeler/templates/migrations/create_weeler_locks.rb +14 -0
- data/lib/generators/weeler/templates/migrations/create_weeler_translation_stats.rb +11 -0
- data/lib/i18n/backend/weeler.rb +15 -6
- data/lib/i18n/backend/weeler/lock.rb +78 -0
- data/lib/i18n/backend/weeler/translation_stat.rb +25 -0
- data/lib/i18n/backend/weeler/usage_logger.rb +17 -1
- data/lib/weeler/action_controller/acts/restful.rb +1 -1
- data/lib/weeler/engine.rb +1 -1
- data/lib/weeler/version.rb +2 -2
- data/spec/.gitignore +21 -0
- data/spec/dummy/config/database.yml +2 -24
- data/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb +14 -0
- data/spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb +11 -0
- data/spec/dummy/db/schema.rb +31 -11
- data/spec/dummy/log/development.log +780 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/weeler/action_controller/acts/restful_spec.rb +1 -1
- data/spec/weeler/i18n/backend/weeler/lock_spec.rb +89 -0
- data/spec/weeler/i18n/backend/weeler/usage_logger_spec.rb +34 -0
- data/spec/weeler/i18n/backend/weeler_spec.rb +22 -0
- data/weeler.gemspec +2 -2
- metadata +18 -8
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
class CreateWeelerLocks < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :weeler_locks do |t|
|
4
|
+
t.string :name, :limit => 40
|
5
|
+
t.timestamps
|
6
|
+
end
|
7
|
+
add_index :weeler_locks, :name, :unique => true
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.down
|
11
|
+
remove_index :weeler_locks, :column => :name
|
12
|
+
drop_table :weeler_locks
|
13
|
+
end
|
14
|
+
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,10 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160330192005) do
|
15
|
+
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
15
18
|
|
16
19
|
create_table "posts", force: :cascade do |t|
|
17
20
|
t.string "title"
|
@@ -31,7 +34,7 @@ ActiveRecord::Schema.define(version: 20140726151210) do
|
|
31
34
|
t.datetime "updated_at"
|
32
35
|
end
|
33
36
|
|
34
|
-
add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true
|
37
|
+
add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true, using: :btree
|
35
38
|
|
36
39
|
create_table "translations", force: :cascade do |t|
|
37
40
|
t.integer "post_id"
|
@@ -42,20 +45,28 @@ ActiveRecord::Schema.define(version: 20140726151210) do
|
|
42
45
|
t.datetime "updated_at"
|
43
46
|
end
|
44
47
|
|
45
|
-
add_index "translations", ["post_id"], name: "index_translations_on_post_id"
|
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
|
52
|
+
t.datetime "created_at"
|
53
|
+
t.datetime "updated_at"
|
54
|
+
end
|
55
|
+
|
56
|
+
add_index "weeler_locks", ["name"], name: "index_weeler_locks_on_name", unique: true, using: :btree
|
46
57
|
|
47
58
|
create_table "weeler_seo_translations", force: :cascade do |t|
|
48
59
|
t.integer "weeler_seo_id", null: false
|
49
60
|
t.string "locale", null: false
|
50
|
-
t.datetime "created_at"
|
51
|
-
t.datetime "updated_at"
|
61
|
+
t.datetime "created_at", null: false
|
62
|
+
t.datetime "updated_at", null: false
|
52
63
|
t.string "title"
|
53
64
|
t.text "description"
|
54
65
|
t.text "keywords"
|
55
66
|
end
|
56
67
|
|
57
|
-
add_index "weeler_seo_translations", ["locale"], name: "index_weeler_seo_translations_on_locale"
|
58
|
-
add_index "weeler_seo_translations", ["weeler_seo_id"], name: "index_weeler_seo_translations_on_weeler_seo_id"
|
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
|
59
70
|
|
60
71
|
create_table "weeler_seos", force: :cascade do |t|
|
61
72
|
t.string "title"
|
@@ -68,8 +79,17 @@ ActiveRecord::Schema.define(version: 20140726151210) do
|
|
68
79
|
t.datetime "updated_at"
|
69
80
|
end
|
70
81
|
|
71
|
-
add_index "weeler_seos", ["section"], name: "index_weeler_seos_on_section"
|
72
|
-
add_index "weeler_seos", ["seoable_type", "seoable_id"], name: "index_weeler_seos_on_seoable_type_and_seoable_id"
|
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
|
88
|
+
t.datetime "created_at"
|
89
|
+
t.datetime "updated_at"
|
90
|
+
end
|
91
|
+
|
92
|
+
add_index "weeler_translation_stats", ["key"], name: "index_weeler_translation_stats_on_key", using: :btree
|
73
93
|
|
74
94
|
create_table "weeler_translations", force: :cascade do |t|
|
75
95
|
t.string "locale"
|
@@ -81,7 +101,7 @@ ActiveRecord::Schema.define(version: 20140726151210) do
|
|
81
101
|
t.datetime "updated_at"
|
82
102
|
end
|
83
103
|
|
84
|
-
add_index "weeler_translations", ["key"], name: "index_weeler_translations_on_key"
|
85
|
-
add_index "weeler_translations", ["locale"], name: "index_weeler_translations_on_locale"
|
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
|
86
106
|
|
87
107
|
end
|
@@ -238,3 +238,783 @@ Migrating to CreatePosts (20140718103237)
|
|
238
238
|
|
239
239
|
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1[0m
|
240
240
|
[1m[35mPost Load (0.2ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
256
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
257
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
258
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
259
|
+
Migrating to CreateWeelerSeos (20140123083704)
|
260
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")[0m
|
264
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")[0m
|
273
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
|
274
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
275
|
+
Migrating to CreateWeelerSettings (20140123083705)
|
276
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
279
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
|
280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140123083705"]]
|
281
|
+
[1m[35m (0.8ms)[0m commit transaction
|
282
|
+
Migrating to CreateWeelerTranslations (20140123083706)
|
283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")[0m
|
287
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")[0m
|
296
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
|
297
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
298
|
+
Migrating to TranslateWeelerSeos (20140123083707)
|
299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
300
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
301
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "weeler_seo_translations" ADD "title" varchar
|
302
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "weeler_seo_translations" ADD "description" text[0m
|
303
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "weeler_seo_translations" ADD "keywords" text
|
304
|
+
[1m[36mWeeler::Seo Load (0.1ms)[0m [1mSELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000[0m
|
305
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
|
306
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
314
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
|
315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140123083707"]]
|
316
|
+
[1m[35m (0.5ms)[0m commit transaction
|
317
|
+
Migrating to CreatePosts (20140718103237)
|
318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140718103237"]]
|
322
|
+
[1m[35m (0.5ms)[0m commit transaction
|
323
|
+
Migrating to CreateTranslations (20140726151210)
|
324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")[0m
|
328
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
|
329
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
330
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
331
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
339
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
355
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
371
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
387
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
410
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
411
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
412
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
413
|
+
Migrating to CreateWeelerSeos (20140123083704)
|
414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")[0m
|
418
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")[0m
|
427
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
|
428
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
429
|
+
Migrating to CreateWeelerSettings (20140123083705)
|
430
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
433
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
|
434
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140123083705"]]
|
435
|
+
[1m[35m (0.7ms)[0m commit transaction
|
436
|
+
Migrating to CreateWeelerTranslations (20140123083706)
|
437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")[0m
|
441
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")[0m
|
450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
|
451
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
452
|
+
Migrating to TranslateWeelerSeos (20140123083707)
|
453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
454
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
455
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "weeler_seo_translations" ADD "title" varchar
|
456
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "weeler_seo_translations" ADD "description" text[0m
|
457
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "weeler_seo_translations" ADD "keywords" text
|
458
|
+
[1m[36mWeeler::Seo Load (0.1ms)[0m [1mSELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000[0m
|
459
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
|
460
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
468
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
|
469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140123083707"]]
|
470
|
+
[1m[35m (0.5ms)[0m commit transaction
|
471
|
+
Migrating to CreatePosts (20140718103237)
|
472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140718103237"]]
|
476
|
+
[1m[35m (0.5ms)[0m commit transaction
|
477
|
+
Migrating to CreateTranslations (20140726151210)
|
478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")[0m
|
482
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
|
483
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
484
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
485
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
493
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
509
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
525
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
541
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
564
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
565
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
566
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
567
|
+
Migrating to CreateWeelerSeos (20140123083704)
|
568
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")[0m
|
572
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")[0m
|
581
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
|
582
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
583
|
+
Migrating to CreateWeelerSettings (20140123083705)
|
584
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
587
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
|
588
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140123083705"]]
|
589
|
+
[1m[35m (0.7ms)[0m commit transaction
|
590
|
+
Migrating to CreateWeelerTranslations (20140123083706)
|
591
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")[0m
|
595
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")[0m
|
604
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
|
605
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
606
|
+
Migrating to TranslateWeelerSeos (20140123083707)
|
607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
608
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
609
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "weeler_seo_translations" ADD "title" varchar
|
610
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "weeler_seo_translations" ADD "description" text[0m
|
611
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "weeler_seo_translations" ADD "keywords" text
|
612
|
+
[1m[36mWeeler::Seo Load (0.1ms)[0m [1mSELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000[0m
|
613
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
|
614
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
622
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
|
623
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140123083707"]]
|
624
|
+
[1m[35m (0.5ms)[0m commit transaction
|
625
|
+
Migrating to CreatePosts (20140718103237)
|
626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140718103237"]]
|
630
|
+
[1m[35m (0.5ms)[0m commit transaction
|
631
|
+
Migrating to CreateTranslations (20140726151210)
|
632
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")[0m
|
636
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
|
637
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
638
|
+
Migrating to CreateWeelerLocks (20160330161101)
|
639
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "weeler_locks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(40), "created_at" datetime, "updated_at" datetime) [0m
|
642
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_weeler_locks_on_name" ON "weeler_locks" ("name")
|
643
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160330161101"]]
|
644
|
+
[1m[35m (1.6ms)[0m commit transaction
|
645
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
646
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
662
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
678
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
694
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
710
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (14.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
761
|
+
[1m[35m (2.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
762
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
763
|
+
Migrating to CreateWeelerSeos (20140123083704)
|
764
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (6.4ms)[0m [1mCREATE 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) [0m
|
767
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
|
768
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")[0m
|
769
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083704"]]
|
770
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
771
|
+
Migrating to CreateWeelerSettings (20140123083705)
|
772
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (3.9ms)[0m [1mCREATE 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) [0m
|
775
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
|
776
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140123083705"]]
|
777
|
+
[1m[35m (0.4ms)[0m COMMIT
|
778
|
+
Migrating to CreateWeelerTranslations (20140123083706)
|
779
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (8.8ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")[0m
|
783
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
|
784
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140123083706"]]
|
785
|
+
[1m[35m (0.3ms)[0m COMMIT
|
786
|
+
Migrating to TranslateWeelerSeos (20140123083707)
|
787
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
788
|
+
[1m[35m (3.5ms)[0m 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
|
+
[1m[36m (3.7ms)[0m [1mALTER TABLE "weeler_seo_translations" ADD "title" character varying[0m
|
790
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "weeler_seo_translations" ADD "description" text
|
791
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "weeler_seo_translations" ADD "keywords" text[0m
|
792
|
+
[1m[35mWeeler::Seo Load (0.7ms)[0m SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
|
793
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")[0m
|
794
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
|
795
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140123083707"]]
|
796
|
+
[1m[35m (2.3ms)[0m COMMIT
|
797
|
+
Migrating to CreatePosts (20140718103237)
|
798
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (3.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140718103237"]]
|
802
|
+
[1m[35m (0.3ms)[0m COMMIT
|
803
|
+
Migrating to CreateTranslations (20140726151210)
|
804
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (3.3ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")[0m
|
808
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140726151210"]]
|
809
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
810
|
+
Migrating to CreateWeelerLocks (20160330161101)
|
811
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "weeler_locks" ("id" serial primary key, "name" character varying(40), "created_at" timestamp, "updated_at" timestamp) [0m
|
814
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_weeler_locks_on_name" ON "weeler_locks" ("name")
|
815
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160330161101"]]
|
816
|
+
[1m[35m (0.3ms)[0m COMMIT
|
817
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
818
|
+
[1m[35m (3.2ms)[0m 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
|
+
[1m[36m (2.7ms)[0m [1mSELECT 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
|
+
[0m
|
842
|
+
[1m[35m (3.2ms)[0m 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
|
+
[1m[36m (2.8ms)[0m [1mSELECT 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
|
+
[0m
|
866
|
+
[1m[35m (2.7ms)[0m 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
|
+
[1m[36m (2.8ms)[0m [1mSELECT 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
|
+
[0m
|
890
|
+
[1m[35m (3.1ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
917
|
+
Migrating to CreateWeelerTranslationStats (20160330192005)
|
918
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (16.2ms)[0m [1mCREATE TABLE "weeler_translation_stats" ("id" serial primary key, "key" character varying, "usage_count" integer DEFAULT 0, "created_at" timestamp, "updated_at" timestamp) [0m
|
921
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_weeler_translation_stats_on_key" ON "weeler_translation_stats" ("key")
|
922
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160330192005"]]
|
923
|
+
[1m[35m (0.6ms)[0m COMMIT
|
924
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
925
|
+
[1m[35m (3.3ms)[0m 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
|
+
[1m[36m (2.9ms)[0m [1mSELECT 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
|
+
[0m
|
949
|
+
[1m[35m (2.9ms)[0m 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
|
+
[1m[36m (4.1ms)[0m [1mSELECT 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
|
+
[0m
|
973
|
+
[1m[35m (4.0ms)[0m 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
|
+
[1m[36m (4.6ms)[0m [1mSELECT 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
|
+
[0m
|
997
|
+
[1m[35m (3.2ms)[0m 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
|
+
[1m[36m (3.5ms)[0m [1mSELECT 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
|
+
[0m
|