sidejobs 0.0.1 → 4.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -9
- data/Rakefile +1 -0
- data/lib/generators/sidejobs/{install_generator.rb → install/install_generator.rb} +3 -3
- data/lib/generators/sidejobs/{templates/configuration.rb → install/templates/initializer.rb} +0 -0
- data/lib/generators/sidejobs/{templates → install/templates}/migration.rb +1 -5
- data/lib/sidejobs/job.rb +5 -1
- data/lib/sidejobs/railtie.rb +1 -1
- data/lib/sidejobs/version.rb +3 -1
- data/lib/tasks/sidejobs.rake +5 -0
- data/test/dummy/bin/bundle +1 -0
- data/test/dummy/bin/rails +1 -0
- data/test/dummy/bin/rake +1 -0
- data/test/dummy/bin/setup +2 -1
- data/test/dummy/config/database.yml.travis +2 -11
- data/test/dummy/config/environments/development.rb +1 -6
- data/test/dummy/config/environments/test.rb +2 -2
- data/test/dummy/config/initializers/mime_types.rb +1 -1
- data/test/dummy/config/secrets.yml +3 -3
- data/test/dummy/db/migrate/20161022211612_create_sidejobs.rb +1 -5
- data/test/dummy/log/sidejobs.log +115 -1782
- data/test/dummy/log/test.log +393 -14469
- data/test/dummy/public/404.html +57 -63
- data/test/dummy/public/422.html +57 -63
- data/test/dummy/public/500.html +56 -62
- data/test/generator_test.rb +3 -4
- metadata +6 -10
- data/test/dummy/db/schema.rb +0 -37
- data/test/dummy/log/development.log +0 -228
@@ -1,228 +0,0 @@
|
|
1
|
-
[1m[36m (31.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
-
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreateSidejobs (20161022211612)
|
5
|
-
[1m[35m (0.2ms)[0m BEGIN
|
6
|
-
[1m[36m (26.9ms)[0m [1mCREATE TABLE "sidejobs" ("id" serial primary key, "data" jsonb, "queue" character varying, "status" character varying, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "error" text, "failed_at" timestamp, "performed_at" timestamp, "scheduled_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
7
|
-
[1m[35m (0.7ms)[0m CREATE INDEX "index_sidejobs_on_status_and_scheduled_at" ON "sidejobs" ("status", "scheduled_at")
|
8
|
-
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_sidejobs_on_priority" ON "sidejobs" ("priority")[0m
|
9
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161022211612"]]
|
10
|
-
[1m[36m (6.0ms)[0m [1mCOMMIT[0m
|
11
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12
|
-
[1m[36m (2.4ms)[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
|
13
|
-
FROM pg_constraint c
|
14
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
15
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
16
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
17
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
18
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
19
|
-
WHERE c.contype = 'f'
|
20
|
-
AND t1.relname = 'sidejobs'
|
21
|
-
AND t3.nspname = ANY (current_schemas(false))
|
22
|
-
ORDER BY c.conname
|
23
|
-
[0m
|
24
|
-
[1m[36mSidejobs::Job Load (1.8ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-22 22:26:55.566317' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
25
|
-
[1m[35mSidejobs::Job Load (0.4ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-22 22:27:05.597745' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
26
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-22 22:27:15.600056' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
27
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-22 22:27:25.614027' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
28
|
-
[1m[36mSidejobs::Job Load (0.6ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-22 23:01:42.735657' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
29
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-22 23:01:52.746468' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
30
|
-
[1m[36mSidejobs::Job Load (0.8ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:37:50.157468' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
31
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:00.168321' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
32
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:10.170088' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
33
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:20.173080' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
34
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:30.174826' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
35
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:40.178087' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
36
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:50.181077' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
37
|
-
[1m[36mSidejobs::Job Load (0.5ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:38:59.492882' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
38
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:39:09.503248' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
39
|
-
[1m[36mSidejobs::Job Load (0.6ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:39:19.507336' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
40
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:39:29.511222' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
41
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:39:39.516704' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
42
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:39:49.520536' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
43
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:39:59.526655' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
44
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:40:09.532315' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
45
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:40:19.540348' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
46
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:40:29.543949' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
47
|
-
[1m[36mSidejobs::Job Load (0.5ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:40:49.905100' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
48
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:40:59.913945' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
49
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:41:09.919724' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
50
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:41:19.924642' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
51
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:41:29.930633' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
52
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:41:39.933339' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
53
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:41:49.934999' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
54
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:41:59.937023' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
55
|
-
[1m[36mSidejobs::Job Load (0.6ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:42:09.941927' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
56
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:42:19.945347' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
57
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:42:29.947816' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
58
|
-
[1m[36mSidejobs::Job Load (0.7ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:42:43.479949' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
59
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:42:53.495158' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
60
|
-
[1m[36mSidejobs::Job Load (1.1ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:43:03.497638' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
61
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:43:13.500788' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
62
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:43:23.502314' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
63
|
-
[1m[35mSidejobs::Job Load (0.4ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:43:33.504578' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
64
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:43:43.506443' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
65
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:43:53.508486' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
66
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:44:03.512337' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
67
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:44:13.514716' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
68
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:44:23.516547' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
69
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:44:33.518587' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
70
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:44:43.524827' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
71
|
-
[1m[36mSidejobs::Job Load (1.0ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:44:55.748309' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
72
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:45:05.770490' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
73
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:45:15.773354' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
74
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:45:25.775509' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
75
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:45:35.777784' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
76
|
-
[1m[35mSidejobs::Job Load (0.4ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:45:45.779854' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
77
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:45:55.782119' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
78
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:46:05.783746' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
79
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:46:15.785725' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
80
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:46:25.788610' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
81
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:46:35.791351' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
82
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:46:45.793684' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
83
|
-
[1m[36mSidejobs::Job Load (0.6ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:46:55.568380' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
84
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:47:05.584040' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
85
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:47:15.587053' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
86
|
-
[1m[36mSidejobs::Job Load (0.6ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:47:49.988289' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
87
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:00.006185' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
88
|
-
[1m[36mSidejobs::Job Load (0.5ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:08.127890' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
89
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:18.138077' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
90
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:28.140198' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
91
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:38.142397' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
92
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:48.144143' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
93
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:58.146296' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
94
|
-
[1m[36mSidejobs::Job Load (0.5ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:48:58.935288' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
95
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:49:08.946625' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
96
|
-
[1m[36mSidejobs::Job Load (2.0ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:49:15.254718' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
97
|
-
[1m[35mSidejobs::Job Load (0.5ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:49:25.287987' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
98
|
-
[1m[36mSidejobs::Job Load (1.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:49:30.216926' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
99
|
-
[1m[35mSidejobs::Job Load (0.8ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:49:40.236912' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
100
|
-
[1m[36mSidejobs::Job Load (0.7ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:49:50.239710' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
101
|
-
[1m[35mSidejobs::Job Load (1.0ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:00.241922' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
102
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:10.244797' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
103
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:20.247671' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
104
|
-
[1m[36mSidejobs::Job Load (0.6ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:30.252234' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
105
|
-
[1m[35mSidejobs::Job Load (0.4ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:39.826743' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
106
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:49.829253' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
107
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:50:59.831364' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
108
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:51:09.833643' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
109
|
-
[1m[35mSidejobs::Job Load (0.4ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:51:19.840269' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
110
|
-
[1m[36mSidejobs::Job Load (0.5ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:51:29.842722' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
111
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:51:39.845384' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
112
|
-
[1m[36mSidejobs::Job Load (0.4ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:51:49.848088' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
113
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:51:59.850866' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
114
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:52:09.853862' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
115
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:52:19.860374' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
116
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:52:29.862135' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
117
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:52:39.868353' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
118
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:52:49.874601' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
119
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:52:59.876754' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
120
|
-
[1m[36mSidejobs::Job Load (0.3ms)[0m [1mSELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:53:09.878949' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50[0m [["status", "pending"]]
|
121
|
-
[1m[35mSidejobs::Job Load (0.3ms)[0m SELECT "sidejobs".* FROM "sidejobs" WHERE "sidejobs"."status" = $1 AND (scheduled_at <= '2016-10-23 04:53:19.881061' OR scheduled_at IS NULL) ORDER BY "sidejobs"."priority" DESC LIMIT 50 [["status", "pending"]]
|
122
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
123
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
124
|
-
Migrating to CreateSidejobs (20161022211612)
|
125
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
126
|
-
[1m[35m (18.8ms)[0m DROP INDEX "index_sidejobs_on_priority"
|
127
|
-
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_sidejobs_on_status_and_scheduled_at"[0m
|
128
|
-
[1m[35m (1.2ms)[0m DROP TABLE "sidejobs"
|
129
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20161022211612"]]
|
130
|
-
[1m[35m (26.2ms)[0m COMMIT
|
131
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
132
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
133
|
-
Migrating to CreateSidejobs (20161022211612)
|
134
|
-
[1m[35m (0.2ms)[0m BEGIN
|
135
|
-
[1m[36m (25.2ms)[0m [1mCREATE TABLE "sidejobs" ("id" serial primary key, "data" jsonb, "queue" character varying, "status" character varying DEFAULT 'pending', "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "error" text, "failed_at" timestamp, "completed_at" timestamp, "scheduled_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
136
|
-
[1m[35m (1.0ms)[0m CREATE INDEX "index_sidejobs_on_status_and_scheduled_at" ON "sidejobs" ("status", "scheduled_at")
|
137
|
-
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_sidejobs_on_priority" ON "sidejobs" ("priority")[0m
|
138
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161022211612"]]
|
139
|
-
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
140
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
141
|
-
[1m[36m (2.0ms)[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
|
142
|
-
FROM pg_constraint c
|
143
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
144
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
145
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
146
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
147
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
148
|
-
WHERE c.contype = 'f'
|
149
|
-
AND t1.relname = 'sidejobs'
|
150
|
-
AND t3.nspname = ANY (current_schemas(false))
|
151
|
-
ORDER BY c.conname
|
152
|
-
[0m
|
153
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
154
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
155
|
-
Migrating to CreateSidejobs (20161022211612)
|
156
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
157
|
-
[1m[35m (0.8ms)[0m DROP INDEX "index_sidejobs_on_priority"
|
158
|
-
[1m[36m (9.7ms)[0m [1mDROP INDEX "index_sidejobs_on_status_and_scheduled_at"[0m
|
159
|
-
[1m[35m (6.7ms)[0m DROP TABLE "sidejobs"
|
160
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20161022211612"]]
|
161
|
-
[1m[35m (14.8ms)[0m COMMIT
|
162
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
163
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
164
|
-
Migrating to CreateSidejobs (20161022211612)
|
165
|
-
[1m[35m (0.2ms)[0m BEGIN
|
166
|
-
[1m[36m (10.6ms)[0m [1mCREATE TABLE "sidejobs" ("id" serial primary key, "data" jsonb, "queue" character varying, "status" character varying DEFAULT 'pending', "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "error" text, "failed_at" timestamp, "completed_at" timestamp, "processed_at" timestamp, "scheduled_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
167
|
-
[1m[35m (0.9ms)[0m CREATE INDEX "index_sidejobs_on_status_and_scheduled_at" ON "sidejobs" ("status", "scheduled_at")
|
168
|
-
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_sidejobs_on_priority" ON "sidejobs" ("priority")[0m
|
169
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161022211612"]]
|
170
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
171
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
172
|
-
[1m[36m (2.2ms)[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
|
173
|
-
FROM pg_constraint c
|
174
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
175
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
176
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
177
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
178
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
179
|
-
WHERE c.contype = 'f'
|
180
|
-
AND t1.relname = 'sidejobs'
|
181
|
-
AND t3.nspname = ANY (current_schemas(false))
|
182
|
-
ORDER BY c.conname
|
183
|
-
[0m
|
184
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
185
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
186
|
-
[1m[36m (1.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
|
187
|
-
FROM pg_constraint c
|
188
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
189
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
190
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
191
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
192
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
193
|
-
WHERE c.contype = 'f'
|
194
|
-
AND t1.relname = 'sidejobs'
|
195
|
-
AND t3.nspname = ANY (current_schemas(false))
|
196
|
-
ORDER BY c.conname
|
197
|
-
[0m
|
198
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
199
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
200
|
-
Migrating to CreateSidejobs (20161022211612)
|
201
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
202
|
-
[1m[35m (0.7ms)[0m DROP INDEX "index_sidejobs_on_priority"
|
203
|
-
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_sidejobs_on_status_and_scheduled_at"[0m
|
204
|
-
[1m[35m (0.9ms)[0m DROP TABLE "sidejobs"
|
205
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20161022211612"]]
|
206
|
-
[1m[35m (14.0ms)[0m COMMIT
|
207
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
208
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
209
|
-
Migrating to CreateSidejobs (20161022211612)
|
210
|
-
[1m[35m (0.2ms)[0m BEGIN
|
211
|
-
[1m[36m (7.7ms)[0m [1mCREATE TABLE "sidejobs" ("id" serial primary key, "data" jsonb, "queue" character varying, "status" character varying DEFAULT 'pending', "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "error" text, "failed_at" timestamp, "completed_at" timestamp, "processed_at" timestamp, "scheduled_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
212
|
-
[1m[35m (1.0ms)[0m CREATE INDEX "index_sidejobs_on_status_and_scheduled_at" ON "sidejobs" ("status", "scheduled_at")
|
213
|
-
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_sidejobs_on_priority" ON "sidejobs" ("priority")[0m
|
214
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161022211612"]]
|
215
|
-
[1m[36m (6.4ms)[0m [1mCOMMIT[0m
|
216
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
217
|
-
[1m[36m (3.3ms)[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
|
218
|
-
FROM pg_constraint c
|
219
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
220
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
221
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
222
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
223
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
224
|
-
WHERE c.contype = 'f'
|
225
|
-
AND t1.relname = 'sidejobs'
|
226
|
-
AND t3.nspname = ANY (current_schemas(false))
|
227
|
-
ORDER BY c.conname
|
228
|
-
[0m
|