caddie 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/caddie/crest_price_history_update_log.rb +4 -0
- data/db/migrate/20160707153021_create_caddie_crest_price_history_update_logs.rb +12 -0
- data/lib/caddie/version.rb +1 -1
- data/lib/tasks/caddie_tasks.rake +12 -2
- data/test/dummy/db/schema.rb +11 -1
- data/test/dummy/log/development.log +762 -0
- data/test/fixtures/caddie/crest_price_history_update_logs.yml +11 -0
- data/test/models/caddie/crest_price_history_update_log_test.rb +9 -0
- metadata +23 -20
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b04c3604f9428c8c760807b84474d12d855742ab
|
4
|
+
data.tar.gz: ece1d1ff85f7d2da20f34dabacb359972e456f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c341e30fe534cc4178aca52782f671308460eafe5bd079506e6e84c9905d479a5605df8853548b109b02fb05bead72aa5597b24852acda4e812ffd51fb120b
|
7
|
+
data.tar.gz: 39e6807cd2d99e618aafe1b45fe45e2bf533e606ba15f747dfce0ade1c52f831686abea2903fd6f1d7452db6c4b449ecff9fb33c14d0a6494fbe606b94bdedd1
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class CreateCaddieCrestPriceHistoryUpdateLogs < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :caddie_crest_price_history_update_logs do |t|
|
4
|
+
t.date :feed_date
|
5
|
+
t.integer :update_planning_time
|
6
|
+
t.integer :feeding_time
|
7
|
+
|
8
|
+
t.timestamps null: false
|
9
|
+
end
|
10
|
+
add_index :caddie_crest_price_history_update_logs, :feed_date, unique: true
|
11
|
+
end
|
12
|
+
end
|
data/lib/caddie/version.rb
CHANGED
data/lib/tasks/caddie_tasks.rake
CHANGED
@@ -3,14 +3,24 @@ namespace :caddie do
|
|
3
3
|
desc "Feed the price histories table"
|
4
4
|
task :feed_crest_price_histories => :environment do
|
5
5
|
|
6
|
+
start_time = Time.now
|
7
|
+
feed_date = start_time.to_date
|
8
|
+
|
6
9
|
puts 'About to compute crest_price_history_updates'
|
7
10
|
Caddie::CrestPriceHistoryUpdate.update
|
8
11
|
|
12
|
+
end_update_time = Time.now
|
13
|
+
update_planning_time = end_update_time - start_time
|
14
|
+
|
9
15
|
puts 'About to feed crest_price_histories'
|
10
16
|
total_inserts, total_connections, total_time = Caddie::CrestPriceHistoryUpdate.feed_price_histories
|
11
17
|
puts "#{total_inserts} insertions, #{total_connections} connections in #{total_time.round( 2 )} seconds. #{(total_connections/total_time).round( 2 )} co/sec"
|
12
18
|
|
13
|
-
|
19
|
+
end_feeding_time = Time.now
|
20
|
+
feeding_time = end_feeding_time - end_update_time
|
14
21
|
|
15
|
-
|
22
|
+
Caddie::CrestPriceHistoryUpdateLog.create!(
|
23
|
+
feed_date: feed_date, update_planning_time: update_planning_time, feeding_time: feeding_time )
|
16
24
|
|
25
|
+
end
|
26
|
+
end
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
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: 20160703142622) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|
@@ -238,6 +238,16 @@ ActiveRecord::Schema.define(version: 20160527152027) do
|
|
238
238
|
add_index "min_prices", ["eve_item_id"], name: "index_min_prices_on_eve_item_id", using: :btree
|
239
239
|
add_index "min_prices", ["trade_hub_id"], name: "index_min_prices_on_trade_hub_id", using: :btree
|
240
240
|
|
241
|
+
create_table "min_prices_logs", force: :cascade do |t|
|
242
|
+
t.string "random_hash"
|
243
|
+
t.datetime "retrieve_start"
|
244
|
+
t.datetime "retrieve_end"
|
245
|
+
t.integer "duration"
|
246
|
+
t.integer "updated_items_count"
|
247
|
+
t.datetime "created_at", null: false
|
248
|
+
t.datetime "updated_at", null: false
|
249
|
+
end
|
250
|
+
|
241
251
|
create_table "regions", force: :cascade do |t|
|
242
252
|
t.string "cpp_region_id", null: false
|
243
253
|
t.string "name", null: false
|
@@ -53161,3 +53161,765 @@ WHERE nb_days > 30 OR nb_days IS NULL;[0m
|
|
53161
53161
|
[1m[35mSQL (0.7ms)[0m INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 3], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 3], ["low_price", 262500.0], ["avg_price", 262500.0], ["high_price", 262500.0], ["created_at", "2016-05-30 10:12:53.682337"], ["updated_at", "2016-05-30 10:12:53.682337"]]
|
53162
53162
|
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"[0m [["region_id", 11], ["eve_item_id", 3], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:53.684764"], ["updated_at", "2016-05-30 10:12:53.684764"]]
|
53163
53163
|
[1m[35m (0.9ms)[0m COMMIT
|
53164
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53165
|
+
Migrating to CreateCaddieCrestPriceHistoryUpdates (20160524122651)
|
53166
|
+
[1m[35m (0.3ms)[0m BEGIN
|
53167
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "caddie_crest_price_history_updates" ("id" serial primary key, "eve_item_id" integer, "region_id" integer, "max_update" date, "max_eve_item_create" date, "max_region_create" date, "max_date" date, "nb_days" integer, "process_queue" character varying, "process_queue_priority" integer, "next_process_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
53168
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
53169
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53170
|
+
[1m[35m (0.3ms)[0m BEGIN
|
53171
|
+
[1m[36m (6.9ms)[0m [1mCREATE TABLE "caddie_crest_price_history_update_logs" ("id" serial primary key, "feed_date" date, "update_planning_time" integer, "feeding_time" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
53172
|
+
[1m[35m (2.5ms)[0m CREATE UNIQUE INDEX "index_caddie_crest_price_history_update_logs_on_feed_date" ON "caddie_crest_price_history_update_logs" ("feed_date")
|
53173
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160707153021"]]
|
53174
|
+
[1m[35m (1.2ms)[0m COMMIT
|
53175
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53176
|
+
[1m[35m (2.4ms)[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
|
53177
|
+
FROM pg_constraint c
|
53178
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53179
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53180
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53181
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53182
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53183
|
+
WHERE c.contype = 'f'
|
53184
|
+
AND t1.relname = 'api_key_errors'
|
53185
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53186
|
+
ORDER BY c.conname
|
53187
|
+
|
53188
|
+
[1m[36m (2.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
|
53189
|
+
FROM pg_constraint c
|
53190
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53191
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53192
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53193
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53194
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53195
|
+
WHERE c.contype = 'f'
|
53196
|
+
AND t1.relname = 'blueprints'
|
53197
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53198
|
+
ORDER BY c.conname
|
53199
|
+
[0m
|
53200
|
+
[1m[35m (2.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
|
53201
|
+
FROM pg_constraint c
|
53202
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53203
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53204
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53205
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53206
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53207
|
+
WHERE c.contype = 'f'
|
53208
|
+
AND t1.relname = 'caddie_crest_price_history_update_logs'
|
53209
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53210
|
+
ORDER BY c.conname
|
53211
|
+
|
53212
|
+
[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
|
53213
|
+
FROM pg_constraint c
|
53214
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53215
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53216
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53217
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53218
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53219
|
+
WHERE c.contype = 'f'
|
53220
|
+
AND t1.relname = 'caddie_crest_price_history_updates'
|
53221
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53222
|
+
ORDER BY c.conname
|
53223
|
+
[0m
|
53224
|
+
[1m[35m (2.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
|
53225
|
+
FROM pg_constraint c
|
53226
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53227
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53228
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53229
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53230
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53231
|
+
WHERE c.contype = 'f'
|
53232
|
+
AND t1.relname = 'components'
|
53233
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53234
|
+
ORDER BY c.conname
|
53235
|
+
|
53236
|
+
[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
|
53237
|
+
FROM pg_constraint c
|
53238
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53239
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53240
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53241
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53242
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53243
|
+
WHERE c.contype = 'f'
|
53244
|
+
AND t1.relname = 'crest_costs'
|
53245
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53246
|
+
ORDER BY c.conname
|
53247
|
+
[0m
|
53248
|
+
[1m[35m (2.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
|
53249
|
+
FROM pg_constraint c
|
53250
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53251
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53252
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53253
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53254
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53255
|
+
WHERE c.contype = 'f'
|
53256
|
+
AND t1.relname = 'crest_price_histories'
|
53257
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53258
|
+
ORDER BY c.conname
|
53259
|
+
|
53260
|
+
[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
|
53261
|
+
FROM pg_constraint c
|
53262
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53263
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53264
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53265
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53266
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53267
|
+
WHERE c.contype = 'f'
|
53268
|
+
AND t1.relname = 'crest_price_histories_daily_used'
|
53269
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53270
|
+
ORDER BY c.conname
|
53271
|
+
[0m
|
53272
|
+
[1m[35m (1.8ms)[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
|
53273
|
+
FROM pg_constraint c
|
53274
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53275
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53276
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53277
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53278
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53279
|
+
WHERE c.contype = 'f'
|
53280
|
+
AND t1.relname = 'crest_price_histories_frequently_used'
|
53281
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53282
|
+
ORDER BY c.conname
|
53283
|
+
|
53284
|
+
[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
|
53285
|
+
FROM pg_constraint c
|
53286
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53287
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53288
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53289
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53290
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53291
|
+
WHERE c.contype = 'f'
|
53292
|
+
AND t1.relname = 'crest_price_histories_never_used'
|
53293
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53294
|
+
ORDER BY c.conname
|
53295
|
+
[0m
|
53296
|
+
[1m[35m (1.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
|
53297
|
+
FROM pg_constraint c
|
53298
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53299
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53300
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53301
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53302
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53303
|
+
WHERE c.contype = 'f'
|
53304
|
+
AND t1.relname = 'crest_price_histories_rarely_used'
|
53305
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53306
|
+
ORDER BY c.conname
|
53307
|
+
|
53308
|
+
[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
|
53309
|
+
FROM pg_constraint c
|
53310
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53311
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53312
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53313
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53314
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53315
|
+
WHERE c.contype = 'f'
|
53316
|
+
AND t1.relname = 'crest_prices_last_month_averages'
|
53317
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53318
|
+
ORDER BY c.conname
|
53319
|
+
[0m
|
53320
|
+
[1m[35m (2.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
|
53321
|
+
FROM pg_constraint c
|
53322
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53323
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53324
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53325
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53326
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53327
|
+
WHERE c.contype = 'f'
|
53328
|
+
AND t1.relname = 'eve_clients'
|
53329
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53330
|
+
ORDER BY c.conname
|
53331
|
+
|
53332
|
+
[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
|
53333
|
+
FROM pg_constraint c
|
53334
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53335
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53336
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53337
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53338
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53339
|
+
WHERE c.contype = 'f'
|
53340
|
+
AND t1.relname = 'eve_items'
|
53341
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53342
|
+
ORDER BY c.conname
|
53343
|
+
[0m
|
53344
|
+
[1m[35m (2.4ms)[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
|
53345
|
+
FROM pg_constraint c
|
53346
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53347
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53348
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53349
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53350
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53351
|
+
WHERE c.contype = 'f'
|
53352
|
+
AND t1.relname = 'eve_items_users'
|
53353
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53354
|
+
ORDER BY c.conname
|
53355
|
+
|
53356
|
+
[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
|
53357
|
+
FROM pg_constraint c
|
53358
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53359
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53360
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53361
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53362
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53363
|
+
WHERE c.contype = 'f'
|
53364
|
+
AND t1.relname = 'identities'
|
53365
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53366
|
+
ORDER BY c.conname
|
53367
|
+
[0m
|
53368
|
+
[1m[35m (2.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
|
53369
|
+
FROM pg_constraint c
|
53370
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53371
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53372
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53373
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53374
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53375
|
+
WHERE c.contype = 'f'
|
53376
|
+
AND t1.relname = 'jita_margins'
|
53377
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53378
|
+
ORDER BY c.conname
|
53379
|
+
|
53380
|
+
[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
|
53381
|
+
FROM pg_constraint c
|
53382
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53383
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53384
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53385
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53386
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53387
|
+
WHERE c.contype = 'f'
|
53388
|
+
AND t1.relname = 'market_group_hierarchies'
|
53389
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53390
|
+
ORDER BY c.conname
|
53391
|
+
[0m
|
53392
|
+
[1m[35m (1.8ms)[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
|
53393
|
+
FROM pg_constraint c
|
53394
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53395
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53396
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53397
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53398
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53399
|
+
WHERE c.contype = 'f'
|
53400
|
+
AND t1.relname = 'market_groups'
|
53401
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53402
|
+
ORDER BY c.conname
|
53403
|
+
|
53404
|
+
[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
|
53405
|
+
FROM pg_constraint c
|
53406
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53407
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53408
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53409
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53410
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53411
|
+
WHERE c.contype = 'f'
|
53412
|
+
AND t1.relname = 'materials'
|
53413
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53414
|
+
ORDER BY c.conname
|
53415
|
+
[0m
|
53416
|
+
[1m[35m (2.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
|
53417
|
+
FROM pg_constraint c
|
53418
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53419
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53420
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53421
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53422
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53423
|
+
WHERE c.contype = 'f'
|
53424
|
+
AND t1.relname = 'min_prices'
|
53425
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53426
|
+
ORDER BY c.conname
|
53427
|
+
|
53428
|
+
[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
|
53429
|
+
FROM pg_constraint c
|
53430
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53431
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53432
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53433
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53434
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53435
|
+
WHERE c.contype = 'f'
|
53436
|
+
AND t1.relname = 'min_prices_logs'
|
53437
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53438
|
+
ORDER BY c.conname
|
53439
|
+
[0m
|
53440
|
+
[1m[35m (2.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
|
53441
|
+
FROM pg_constraint c
|
53442
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53443
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53444
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53445
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53446
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53447
|
+
WHERE c.contype = 'f'
|
53448
|
+
AND t1.relname = 'regions'
|
53449
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53450
|
+
ORDER BY c.conname
|
53451
|
+
|
53452
|
+
[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
|
53453
|
+
FROM pg_constraint c
|
53454
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53455
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53456
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53457
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53458
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53459
|
+
WHERE c.contype = 'f'
|
53460
|
+
AND t1.relname = 'sale_records'
|
53461
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53462
|
+
ORDER BY c.conname
|
53463
|
+
[0m
|
53464
|
+
[1m[35m (2.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
|
53465
|
+
FROM pg_constraint c
|
53466
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53467
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53468
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53469
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53470
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53471
|
+
WHERE c.contype = 'f'
|
53472
|
+
AND t1.relname = 'shopping_baskets'
|
53473
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53474
|
+
ORDER BY c.conname
|
53475
|
+
|
53476
|
+
[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
|
53477
|
+
FROM pg_constraint c
|
53478
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53479
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53480
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53481
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53482
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53483
|
+
WHERE c.contype = 'f'
|
53484
|
+
AND t1.relname = 'stations'
|
53485
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53486
|
+
ORDER BY c.conname
|
53487
|
+
[0m
|
53488
|
+
[1m[35m (2.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
|
53489
|
+
FROM pg_constraint c
|
53490
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53491
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53492
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53493
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53494
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53495
|
+
WHERE c.contype = 'f'
|
53496
|
+
AND t1.relname = 'trade_hubs'
|
53497
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53498
|
+
ORDER BY c.conname
|
53499
|
+
|
53500
|
+
[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
|
53501
|
+
FROM pg_constraint c
|
53502
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53503
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53504
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53505
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53506
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53507
|
+
WHERE c.contype = 'f'
|
53508
|
+
AND t1.relname = 'trade_hubs_users'
|
53509
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53510
|
+
ORDER BY c.conname
|
53511
|
+
[0m
|
53512
|
+
[1m[35m (17.8ms)[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
|
53513
|
+
FROM pg_constraint c
|
53514
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53515
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53516
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53517
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53518
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53519
|
+
WHERE c.contype = 'f'
|
53520
|
+
AND t1.relname = 'trade_orders'
|
53521
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53522
|
+
ORDER BY c.conname
|
53523
|
+
|
53524
|
+
[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
|
53525
|
+
FROM pg_constraint c
|
53526
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53527
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53528
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53529
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53530
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53531
|
+
WHERE c.contype = 'f'
|
53532
|
+
AND t1.relname = 'user_activity_logs'
|
53533
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53534
|
+
ORDER BY c.conname
|
53535
|
+
[0m
|
53536
|
+
[1m[35m (2.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
|
53537
|
+
FROM pg_constraint c
|
53538
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53539
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53540
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53541
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53542
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53543
|
+
WHERE c.contype = 'f'
|
53544
|
+
AND t1.relname = 'users'
|
53545
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53546
|
+
ORDER BY c.conname
|
53547
|
+
|
53548
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
53549
|
+
[1m[35mSQL (1.7ms)[0m INSERT INTO "caddie_crest_price_history_update_logs" ("feed_date", "update_planning_time", "feeding_time", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["feed_date", "2016-07-07"], ["update_planning_time", 50], ["feeding_time", 58], ["created_at", "2016-07-07 15:33:44.777454"], ["updated_at", "2016-07-07 15:33:44.777454"]]
|
53550
|
+
[1m[36m (3.0ms)[0m [1mCOMMIT[0m
|
53551
|
+
[1m[35m (1.1ms)[0m BEGIN
|
53552
|
+
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "caddie_crest_price_history_update_logs" ("feed_date", "update_planning_time", "feeding_time", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["feed_date", "2016-07-06"], ["update_planning_time", 50], ["feeding_time", 58], ["created_at", "2016-07-07 15:34:05.898938"], ["updated_at", "2016-07-07 15:34:05.898938"]]
|
53553
|
+
[1m[35m (3.3ms)[0m COMMIT
|
53554
|
+
[1m[36m (1.7ms)[0m [1mBEGIN[0m
|
53555
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "caddie_crest_price_history_update_logs" ("feed_date", "update_planning_time", "feeding_time", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["feed_date", "2016-07-05"], ["update_planning_time", 40], ["feeding_time", 24], ["created_at", "2016-07-07 15:34:19.489703"], ["updated_at", "2016-07-07 15:34:19.489703"]]
|
53556
|
+
[1m[36m (5.7ms)[0m [1mCOMMIT[0m
|
53557
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53558
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
53559
|
+
Migrating to CreateCaddieCrestPriceHistoryUpdateLogs (20160707153021)
|
53560
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53561
|
+
[1m[35m (1.7ms)[0m DROP INDEX "index_caddie_crest_price_history_update_logs_on_feed_date"
|
53562
|
+
[1m[36m (2.3ms)[0m [1mDROP TABLE "caddie_crest_price_history_update_logs"[0m
|
53563
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20160707153021"]]
|
53564
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
53565
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
53566
|
+
[1m[36m (2.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
|
53567
|
+
FROM pg_constraint c
|
53568
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53569
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53570
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53571
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53572
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53573
|
+
WHERE c.contype = 'f'
|
53574
|
+
AND t1.relname = 'api_key_errors'
|
53575
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53576
|
+
ORDER BY c.conname
|
53577
|
+
[0m
|
53578
|
+
[1m[35m (1.8ms)[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
|
53579
|
+
FROM pg_constraint c
|
53580
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53581
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53582
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53583
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53584
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53585
|
+
WHERE c.contype = 'f'
|
53586
|
+
AND t1.relname = 'blueprints'
|
53587
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53588
|
+
ORDER BY c.conname
|
53589
|
+
|
53590
|
+
[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
|
53591
|
+
FROM pg_constraint c
|
53592
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53593
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53594
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53595
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53596
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53597
|
+
WHERE c.contype = 'f'
|
53598
|
+
AND t1.relname = 'caddie_crest_price_history_updates'
|
53599
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53600
|
+
ORDER BY c.conname
|
53601
|
+
[0m
|
53602
|
+
[1m[35m (1.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
|
53603
|
+
FROM pg_constraint c
|
53604
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53605
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53606
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53607
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53608
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53609
|
+
WHERE c.contype = 'f'
|
53610
|
+
AND t1.relname = 'components'
|
53611
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53612
|
+
ORDER BY c.conname
|
53613
|
+
|
53614
|
+
[1m[36m (1.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
|
53615
|
+
FROM pg_constraint c
|
53616
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53617
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53618
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53619
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53620
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53621
|
+
WHERE c.contype = 'f'
|
53622
|
+
AND t1.relname = 'crest_costs'
|
53623
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53624
|
+
ORDER BY c.conname
|
53625
|
+
[0m
|
53626
|
+
[1m[35m (2.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
|
53627
|
+
FROM pg_constraint c
|
53628
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53629
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53630
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53631
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53632
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53633
|
+
WHERE c.contype = 'f'
|
53634
|
+
AND t1.relname = 'crest_price_histories'
|
53635
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53636
|
+
ORDER BY c.conname
|
53637
|
+
|
53638
|
+
[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
|
53639
|
+
FROM pg_constraint c
|
53640
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53641
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53642
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53643
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53644
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53645
|
+
WHERE c.contype = 'f'
|
53646
|
+
AND t1.relname = 'crest_price_histories_daily_used'
|
53647
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53648
|
+
ORDER BY c.conname
|
53649
|
+
[0m
|
53650
|
+
[1m[35m (1.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
|
53651
|
+
FROM pg_constraint c
|
53652
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53653
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53654
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53655
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53656
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53657
|
+
WHERE c.contype = 'f'
|
53658
|
+
AND t1.relname = 'crest_price_histories_frequently_used'
|
53659
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53660
|
+
ORDER BY c.conname
|
53661
|
+
|
53662
|
+
[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
|
53663
|
+
FROM pg_constraint c
|
53664
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53665
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53666
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53667
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53668
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53669
|
+
WHERE c.contype = 'f'
|
53670
|
+
AND t1.relname = 'crest_price_histories_never_used'
|
53671
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53672
|
+
ORDER BY c.conname
|
53673
|
+
[0m
|
53674
|
+
[1m[35m (1.8ms)[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
|
53675
|
+
FROM pg_constraint c
|
53676
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53677
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53678
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53679
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53680
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53681
|
+
WHERE c.contype = 'f'
|
53682
|
+
AND t1.relname = 'crest_price_histories_rarely_used'
|
53683
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53684
|
+
ORDER BY c.conname
|
53685
|
+
|
53686
|
+
[1m[36m (1.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
|
53687
|
+
FROM pg_constraint c
|
53688
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53689
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53690
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53691
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53692
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53693
|
+
WHERE c.contype = 'f'
|
53694
|
+
AND t1.relname = 'crest_prices_last_month_averages'
|
53695
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53696
|
+
ORDER BY c.conname
|
53697
|
+
[0m
|
53698
|
+
[1m[35m (1.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
|
53699
|
+
FROM pg_constraint c
|
53700
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53701
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53702
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53703
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53704
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53705
|
+
WHERE c.contype = 'f'
|
53706
|
+
AND t1.relname = 'eve_clients'
|
53707
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53708
|
+
ORDER BY c.conname
|
53709
|
+
|
53710
|
+
[1m[36m (1.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
|
53711
|
+
FROM pg_constraint c
|
53712
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53713
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53714
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53715
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53716
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53717
|
+
WHERE c.contype = 'f'
|
53718
|
+
AND t1.relname = 'eve_items'
|
53719
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53720
|
+
ORDER BY c.conname
|
53721
|
+
[0m
|
53722
|
+
[1m[35m (2.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
|
53723
|
+
FROM pg_constraint c
|
53724
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53725
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53726
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53727
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53728
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53729
|
+
WHERE c.contype = 'f'
|
53730
|
+
AND t1.relname = 'eve_items_users'
|
53731
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53732
|
+
ORDER BY c.conname
|
53733
|
+
|
53734
|
+
[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
|
53735
|
+
FROM pg_constraint c
|
53736
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53737
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53738
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53739
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53740
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53741
|
+
WHERE c.contype = 'f'
|
53742
|
+
AND t1.relname = 'identities'
|
53743
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53744
|
+
ORDER BY c.conname
|
53745
|
+
[0m
|
53746
|
+
[1m[35m (1.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
|
53747
|
+
FROM pg_constraint c
|
53748
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53749
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53750
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53751
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53752
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53753
|
+
WHERE c.contype = 'f'
|
53754
|
+
AND t1.relname = 'jita_margins'
|
53755
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53756
|
+
ORDER BY c.conname
|
53757
|
+
|
53758
|
+
[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
|
53759
|
+
FROM pg_constraint c
|
53760
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53761
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53762
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53763
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53764
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53765
|
+
WHERE c.contype = 'f'
|
53766
|
+
AND t1.relname = 'market_group_hierarchies'
|
53767
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53768
|
+
ORDER BY c.conname
|
53769
|
+
[0m
|
53770
|
+
[1m[35m (2.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
|
53771
|
+
FROM pg_constraint c
|
53772
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53773
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53774
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53775
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53776
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53777
|
+
WHERE c.contype = 'f'
|
53778
|
+
AND t1.relname = 'market_groups'
|
53779
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53780
|
+
ORDER BY c.conname
|
53781
|
+
|
53782
|
+
[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
|
53783
|
+
FROM pg_constraint c
|
53784
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53785
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53786
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53787
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53788
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53789
|
+
WHERE c.contype = 'f'
|
53790
|
+
AND t1.relname = 'materials'
|
53791
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53792
|
+
ORDER BY c.conname
|
53793
|
+
[0m
|
53794
|
+
[1m[35m (2.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
|
53795
|
+
FROM pg_constraint c
|
53796
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53797
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53798
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53799
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53800
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53801
|
+
WHERE c.contype = 'f'
|
53802
|
+
AND t1.relname = 'min_prices'
|
53803
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53804
|
+
ORDER BY c.conname
|
53805
|
+
|
53806
|
+
[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
|
53807
|
+
FROM pg_constraint c
|
53808
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53809
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53810
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53811
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53812
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53813
|
+
WHERE c.contype = 'f'
|
53814
|
+
AND t1.relname = 'min_prices_logs'
|
53815
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53816
|
+
ORDER BY c.conname
|
53817
|
+
[0m
|
53818
|
+
[1m[35m (1.8ms)[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
|
53819
|
+
FROM pg_constraint c
|
53820
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53821
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53822
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53823
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53824
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53825
|
+
WHERE c.contype = 'f'
|
53826
|
+
AND t1.relname = 'regions'
|
53827
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53828
|
+
ORDER BY c.conname
|
53829
|
+
|
53830
|
+
[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
|
53831
|
+
FROM pg_constraint c
|
53832
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53833
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53834
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53835
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53836
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53837
|
+
WHERE c.contype = 'f'
|
53838
|
+
AND t1.relname = 'sale_records'
|
53839
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53840
|
+
ORDER BY c.conname
|
53841
|
+
[0m
|
53842
|
+
[1m[35m (2.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
|
53843
|
+
FROM pg_constraint c
|
53844
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53845
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53846
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53847
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53848
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53849
|
+
WHERE c.contype = 'f'
|
53850
|
+
AND t1.relname = 'shopping_baskets'
|
53851
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53852
|
+
ORDER BY c.conname
|
53853
|
+
|
53854
|
+
[1m[36m (2.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
|
53855
|
+
FROM pg_constraint c
|
53856
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53857
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53858
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53859
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53860
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53861
|
+
WHERE c.contype = 'f'
|
53862
|
+
AND t1.relname = 'stations'
|
53863
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53864
|
+
ORDER BY c.conname
|
53865
|
+
[0m
|
53866
|
+
[1m[35m (1.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
|
53867
|
+
FROM pg_constraint c
|
53868
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53869
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53870
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53871
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53872
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53873
|
+
WHERE c.contype = 'f'
|
53874
|
+
AND t1.relname = 'trade_hubs'
|
53875
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53876
|
+
ORDER BY c.conname
|
53877
|
+
|
53878
|
+
[1m[36m (1.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
|
53879
|
+
FROM pg_constraint c
|
53880
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53881
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53882
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53883
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53884
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53885
|
+
WHERE c.contype = 'f'
|
53886
|
+
AND t1.relname = 'trade_hubs_users'
|
53887
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53888
|
+
ORDER BY c.conname
|
53889
|
+
[0m
|
53890
|
+
[1m[35m (1.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
|
53891
|
+
FROM pg_constraint c
|
53892
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53893
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53894
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53895
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53896
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53897
|
+
WHERE c.contype = 'f'
|
53898
|
+
AND t1.relname = 'trade_orders'
|
53899
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53900
|
+
ORDER BY c.conname
|
53901
|
+
|
53902
|
+
[1m[36m (1.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
|
53903
|
+
FROM pg_constraint c
|
53904
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53905
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53906
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53907
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53908
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53909
|
+
WHERE c.contype = 'f'
|
53910
|
+
AND t1.relname = 'user_activity_logs'
|
53911
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53912
|
+
ORDER BY c.conname
|
53913
|
+
[0m
|
53914
|
+
[1m[35m (1.8ms)[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
|
53915
|
+
FROM pg_constraint c
|
53916
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
53917
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53918
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
53919
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
53920
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
53921
|
+
WHERE c.contype = 'f'
|
53922
|
+
AND t1.relname = 'users'
|
53923
|
+
AND t3.nspname = ANY (current_schemas(false))
|
53924
|
+
ORDER BY c.conname
|
53925
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caddie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zuger Cédric
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,42 +16,40 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2
|
19
|
+
version: '4.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.2.6
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.2
|
29
|
+
version: '4.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 4.2.6
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: pg
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.18'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
42
|
+
version: 0.18.4
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: sqlite3
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
47
|
+
- - "~>"
|
46
48
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
49
|
+
version: '0.18'
|
52
50
|
- - ">="
|
53
51
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
52
|
+
version: 0.18.4
|
55
53
|
description: A rails engine that allow to download CREST market data (designed to
|
56
54
|
be plugged into a custom application)
|
57
55
|
email:
|
@@ -61,7 +59,6 @@ extensions: []
|
|
61
59
|
extra_rdoc_files: []
|
62
60
|
files:
|
63
61
|
- MIT-LICENSE
|
64
|
-
- README.rdoc
|
65
62
|
- Rakefile
|
66
63
|
- app/assets/javascripts/caddie/application.js
|
67
64
|
- app/assets/stylesheets/caddie/application.css
|
@@ -69,6 +66,7 @@ files:
|
|
69
66
|
- app/helpers/caddie/application_helper.rb
|
70
67
|
- app/models/caddie/crest_data_retriever.rb
|
71
68
|
- app/models/caddie/crest_price_history_update.rb
|
69
|
+
- app/models/caddie/crest_price_history_update_log.rb
|
72
70
|
- app/models/caddie/m_threaded_updater.rb
|
73
71
|
- app/models/caddie/update_table.sql
|
74
72
|
- app/models/crest_price_history.rb
|
@@ -78,6 +76,7 @@ files:
|
|
78
76
|
- config/routes.rb
|
79
77
|
- db/migrate/20160524122651_create_caddie_crest_price_history_updates.rb
|
80
78
|
- db/migrate/20160527152027_add_thread_slice_id_to_caddie_crest_price_history_updates.rb
|
79
|
+
- db/migrate/20160707153021_create_caddie_crest_price_history_update_logs.rb
|
81
80
|
- lib/caddie.rb
|
82
81
|
- lib/caddie/engine.rb
|
83
82
|
- lib/caddie/version.rb
|
@@ -119,7 +118,9 @@ files:
|
|
119
118
|
- test/dummy/public/422.html
|
120
119
|
- test/dummy/public/500.html
|
121
120
|
- test/dummy/public/favicon.ico
|
121
|
+
- test/fixtures/caddie/crest_price_history_update_logs.yml
|
122
122
|
- test/integration/navigation_test.rb
|
123
|
+
- test/models/caddie/crest_price_history_update_log_test.rb
|
123
124
|
- test/models/caddie/crest_price_history_update_test.rb
|
124
125
|
- test/test_helper.rb
|
125
126
|
homepage: https://github.com/czuger/caddie
|
@@ -148,8 +149,10 @@ specification_version: 4
|
|
148
149
|
summary: Crest mArket DownloaD engInE
|
149
150
|
test_files:
|
150
151
|
- test/models/caddie/crest_price_history_update_test.rb
|
152
|
+
- test/models/caddie/crest_price_history_update_log_test.rb
|
151
153
|
- test/caddie_test.rb
|
152
154
|
- test/integration/navigation_test.rb
|
155
|
+
- test/fixtures/caddie/crest_price_history_update_logs.yml
|
153
156
|
- test/test_helper.rb
|
154
157
|
- test/dummy/db/schema.rb
|
155
158
|
- test/dummy/config/routes.rb
|
data/README.rdoc
DELETED