spina 0.6.22 → 0.6.23

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/db/migrate/20150507135428_create_spina_tables.rb +160 -0
  3. data/lib/generators/spina/install_generator.rb +47 -0
  4. data/lib/generators/spina/templates/application.html.erb +16 -0
  5. data/lib/generators/spina/templates/homepage.html.erb +3 -0
  6. data/lib/generators/spina/templates/show.html.erb +3 -0
  7. data/lib/generators/spina/templates/spina.rb +3 -0
  8. data/lib/generators/spina/templates/theme.rb +42 -0
  9. data/lib/spina/version.rb +1 -1
  10. data/lib/tasks/spina_tasks.rake +5 -9
  11. data/test/dummy/config/initializers/spina.rb +1 -56
  12. data/test/dummy/config/initializers/themes/default.rb +38 -0
  13. data/test/dummy/config/routes.rb +1 -1
  14. data/test/dummy/db/migrate/20150507153614_create_spina_tables.spina.rb +161 -0
  15. data/test/dummy/db/schema.rb +1 -1
  16. data/test/dummy/log/development.log +2005 -0
  17. data/test/lib/generators/spina/install_generator_test.rb +16 -0
  18. metadata +12 -54
  19. data/app/views/spina/pages/_page.html.haml +0 -3
  20. data/app/views/spina/pages/homepage.html.haml +0 -3
  21. data/app/views/spina/pages/show.html.haml +0 -1
  22. data/db/migrate/20130412140449_create_spina_pages.rb +0 -15
  23. data/db/migrate/20130412140656_change_columns_pages.rb +0 -6
  24. data/db/migrate/20130412173041_create_spina_users.rb +0 -12
  25. data/db/migrate/20130412175403_create_spina_page_parts.rb +0 -12
  26. data/db/migrate/20130412175531_change_admin_of_users.rb +0 -5
  27. data/db/migrate/20130412180027_create_spina_page_includes.rb +0 -12
  28. data/db/migrate/20130412182257_create_spina_photos.rb +0 -9
  29. data/db/migrate/20130412191946_create_spina_accounts.rb +0 -16
  30. data/db/migrate/20130414145608_create_spina_inquiries.rb +0 -13
  31. data/db/migrate/20130422094248_add_theme_to_spina_accounts.rb +0 -5
  32. data/db/migrate/20130422161041_remove_theme_from_spina_accounts.rb +0 -5
  33. data/db/migrate/20130422194143_change_default_value_column_archived_inquiries.rb +0 -5
  34. data/db/migrate/20130425080630_change_page_includes.rb +0 -8
  35. data/db/migrate/20130426122705_add_parent_id_to_spina_pages.rb +0 -5
  36. data/db/migrate/20130426133425_change_colum_n_spina_pages_again.rb +0 -5
  37. data/db/migrate/20130426133606_bring_out_the_nukes.rb +0 -6
  38. data/db/migrate/20130429092708_add_name_to_spina_pages.rb +0 -5
  39. data/db/migrate/20130429124414_change_column_stomme_onzin.rb +0 -6
  40. data/db/migrate/20130503072744_add_last_logged_in_to_users.rb +0 -5
  41. data/db/migrate/20130503073613_change_column_spina_users.rb +0 -5
  42. data/db/migrate/20130503104857_create_spina_spina_files.rb +0 -9
  43. data/db/migrate/20130503105356_add_file_to_spina_page_parts.rb +0 -5
  44. data/db/migrate/20130503105943_change_columns_spina_files.rb +0 -6
  45. data/db/migrate/20130503110240_fix_namespaces.rb +0 -12
  46. data/db/migrate/20130503133649_create_spina_galleries.rb +0 -10
  47. data/db/migrate/20130504163456_add_seo_title_to_spina_pages.rb +0 -5
  48. data/db/migrate/20130516132913_add_spam_to_spina_inquiries.rb +0 -5
  49. data/db/migrate/20130523132347_add_page_partable_to_spina_page_parts.rb +0 -137
  50. data/db/migrate/20130527124130_remove_deprecated_columns_from_spina_page_parts.rb +0 -11
  51. data/db/migrate/20130715151201_switch_to_nested_sets_instead_of_position_pages.rb +0 -10
  52. data/db/migrate/20130719120007_add_skip_to_first_child_and_templates_to_spina_pages.rb +0 -7
  53. data/db/migrate/20130719121520_add_draft_to_spina_pages.rb +0 -5
  54. data/db/migrate/20130719122139_add_link_url_to_spina_pages.rb +0 -5
  55. data/db/migrate/20130719134545_rename_spina_file_to_attachments.rb +0 -9
  56. data/db/migrate/20130725111749_add_ancestry_to_spina_pages.rb +0 -10
  57. data/db/migrate/20130730185527_add_materialized_path_to_spina_pages.rb +0 -5
  58. data/db/migrate/20130918133920_change_column_page_parts.rb +0 -6
  59. data/db/migrate/20130919074011_create_spina_texts.rb +0 -9
  60. data/db/migrate/20130919074023_create_spina_lines.rb +0 -9
  61. data/db/migrate/20130919074838_remove_column_from_spina_page_parts.rb +0 -5
  62. data/db/migrate/20131210122702_change_column_spina_texts.rb +0 -5
  63. data/db/migrate/20131212080016_add_required_stuff_to_spina_accounts.rb +0 -6
  64. data/db/migrate/20140225141812_create_layout_parts.rb +0 -12
  65. data/db/migrate/20140225151146_add_account_id_to_spina_layout_parts.rb +0 -5
  66. data/db/migrate/20140407095608_add_active_to_spina_pages.rb +0 -5
  67. data/db/migrate/20140711154425_add_robots_allowed_to_spina_accounts.rb +0 -5
  68. data/db/migrate/20140718095419_add_position_to_spina_photo_collections_photos.rb +0 -5
  69. data/db/migrate/20150402144347_create_structures.rb +0 -27
  70. data/db/migrate/20150430085527_create_spina_colors.rb +0 -8
@@ -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: 20150430085616) do
14
+ ActiveRecord::Schema.define(version: 20150507153614) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
@@ -89623,3 +89623,2008 @@ Processing by Spina::Admin::SessionsController#create as HTML
89623
89623
  Spina::User Load (0.4ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."email" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["email", "bram@denkgroot.com"]]
89624
89624
  Rendered /Users/bram/apps/spina/app/views/spina/admin/sessions/new.html.haml within layouts/spina/login (2.2ms)
89625
89625
  Completed 200 OK in 32ms (Views: 20.1ms | ActiveRecord: 0.4ms)
89626
+ ActiveRecord::SchemaMigration Load (26.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
89627
+ Migrating to CreateSpinaTables (20150507153614)
89628
+  (0.2ms) BEGIN
89629
+  (37.1ms) DROP TABLE "spina_accounts" CASCADE
89630
+  (43.0ms) CREATE TABLE "spina_accounts" ("id" serial primary key, "name" character varying, "address" character varying, "postal_code" character varying, "city" character varying, "phone" character varying, "email" character varying, "preferences" text, "logo" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "kvk_identifier" character varying, "vat_identifier" character varying, "robots_allowed" boolean DEFAULT 'f')
89631
+  (1.0ms) DROP TABLE "spina_attachment_collections" CASCADE
89632
+  (2.4ms) CREATE TABLE "spina_attachment_collections" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
89633
+  (0.9ms) DROP TABLE "spina_attachment_collections_attachments" CASCADE
89634
+  (3.9ms) CREATE TABLE "spina_attachment_collections_attachments" ("id" serial primary key, "attachment_collection_id" integer, "attachment_id" integer)
89635
+  (1.4ms) DROP TABLE "spina_attachments" CASCADE
89636
+  (3.1ms) CREATE TABLE "spina_attachments" ("id" serial primary key, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
89637
+  (2.0ms) DROP TABLE "spina_colors" CASCADE
89638
+  (3.7ms) CREATE TABLE "spina_colors" ("id" serial primary key, "content" text, "created_at" timestamp, "updated_at" timestamp)
89639
+  (0.7ms) DROP TABLE "spina_inquiries" CASCADE
89640
+  (5.4ms) CREATE TABLE "spina_inquiries" ("id" serial primary key, "name" character varying, "email" character varying, "phone" character varying, "message" text, "archived" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "spam" boolean)
89641
+  (1.4ms) DROP TABLE "spina_layout_parts" CASCADE
89642
+  (3.4ms) CREATE TABLE "spina_layout_parts" ("id" serial primary key, "title" character varying, "name" character varying, "layout_partable_id" integer, "layout_partable_type" character varying, "created_at" timestamp, "updated_at" timestamp, "account_id" integer)
89643
+  (0.9ms) DROP TABLE "spina_lines" CASCADE
89644
+  (2.3ms) CREATE TABLE "spina_lines" ("id" serial primary key, "content" character varying, "created_at" timestamp, "updated_at" timestamp)
89645
+  (0.6ms) DROP TABLE "spina_page_parts" CASCADE
89646
+  (2.4ms) CREATE TABLE "spina_page_parts" ("id" serial primary key, "title" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "page_id" integer, "page_partable_id" integer, "page_partable_type" character varying)
89647
+  (1.7ms) DROP TABLE "spina_pages" CASCADE
89648
+  (3.1ms) CREATE TABLE "spina_pages" ("id" serial primary key, "title" character varying, "menu_title" character varying, "description" character varying, "show_in_menu" boolean DEFAULT 't', "slug" character varying, "deletable" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "name" character varying, "seo_title" character varying, "skip_to_first_child" boolean DEFAULT 'f', "view_template" character varying, "layout_template" character varying, "draft" boolean DEFAULT 'f', "link_url" character varying, "ancestry" character varying, "position" integer, "materialized_path" character varying, "active" boolean DEFAULT 't')
89649
+  (0.6ms) DROP TABLE "spina_photo_collections" CASCADE
89650
+  (1.4ms) CREATE TABLE "spina_photo_collections" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
89651
+  (0.9ms) DROP TABLE "spina_photo_collections_photos" CASCADE
89652
+  (1.6ms) CREATE TABLE "spina_photo_collections_photos" ("id" serial primary key, "photo_collection_id" integer, "photo_id" integer, "position" integer)
89653
+  (1.0ms) DROP TABLE "spina_photos" CASCADE
89654
+  (2.8ms) CREATE TABLE "spina_photos" ("id" serial primary key, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
89655
+  (0.5ms) DROP TABLE "spina_structure_items" CASCADE
89656
+  (1.9ms) CREATE TABLE "spina_structure_items" ("id" serial primary key, "structure_id" integer, "position" integer, "created_at" timestamp, "updated_at" timestamp)
89657
+  (0.8ms) CREATE INDEX "index_spina_structure_items_on_structure_id" ON "spina_structure_items" USING btree ("structure_id")
89658
+  (0.7ms) DROP TABLE "spina_structure_parts" CASCADE
89659
+  (2.2ms) CREATE TABLE "spina_structure_parts" ("id" serial primary key, "structure_item_id" integer, "structure_partable_id" integer, "structure_partable_type" character varying, "name" character varying, "title" character varying, "created_at" timestamp, "updated_at" timestamp) 
89660
+  (0.7ms) CREATE INDEX "index_spina_structure_parts_on_structure_item_id" ON "spina_structure_parts" USING btree ("structure_item_id")
89661
+  (0.9ms) CREATE INDEX "index_spina_structure_parts_on_structure_partable_id" ON "spina_structure_parts" USING btree ("structure_partable_id")
89662
+  (0.7ms) DROP TABLE "spina_structures" CASCADE
89663
+  (1.6ms) CREATE TABLE "spina_structures" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp) 
89664
+  (1.0ms) DROP TABLE "spina_texts" CASCADE
89665
+  (2.8ms) CREATE TABLE "spina_texts" ("id" serial primary key, "content" text, "created_at" timestamp, "updated_at" timestamp) 
89666
+  (0.9ms) DROP TABLE "spina_users" CASCADE
89667
+  (3.0ms) CREATE TABLE "spina_users" ("id" serial primary key, "name" character varying, "email" character varying, "password_digest" character varying, "admin" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "last_logged_in" timestamp) 
89668
+ SQL (4.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150507153614"]]
89669
+  (27.3ms) COMMIT
89670
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
89671
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89672
+ FROM pg_constraint c
89673
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89674
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89675
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89676
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89677
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89678
+ WHERE c.contype = 'f'
89679
+ AND t1.relname = 'spina_accounts'
89680
+ AND t3.nspname = ANY (current_schemas(false))
89681
+ ORDER BY c.conname
89682
+ 
89683
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89684
+ FROM pg_constraint c
89685
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89686
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89687
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89688
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89689
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89690
+ WHERE c.contype = 'f'
89691
+ AND t1.relname = 'spina_attachment_collections'
89692
+ AND t3.nspname = ANY (current_schemas(false))
89693
+ ORDER BY c.conname
89694
+
89695
+  (1.4ms) 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
89696
+ FROM pg_constraint c
89697
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89698
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89699
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89700
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89701
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89702
+ WHERE c.contype = 'f'
89703
+ AND t1.relname = 'spina_attachment_collections_attachments'
89704
+ AND t3.nspname = ANY (current_schemas(false))
89705
+ ORDER BY c.conname
89706
+ 
89707
+  (1.4ms) 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
89708
+ FROM pg_constraint c
89709
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89710
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89711
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89712
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89713
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89714
+ WHERE c.contype = 'f'
89715
+ AND t1.relname = 'spina_attachments'
89716
+ AND t3.nspname = ANY (current_schemas(false))
89717
+ ORDER BY c.conname
89718
+
89719
+  (1.4ms) 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
89720
+ FROM pg_constraint c
89721
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89722
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89723
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89724
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89725
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89726
+ WHERE c.contype = 'f'
89727
+ AND t1.relname = 'spina_colors'
89728
+ AND t3.nspname = ANY (current_schemas(false))
89729
+ ORDER BY c.conname
89730
+ 
89731
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89732
+ FROM pg_constraint c
89733
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89734
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89735
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89736
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89737
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89738
+ WHERE c.contype = 'f'
89739
+ AND t1.relname = 'spina_inquiries'
89740
+ AND t3.nspname = ANY (current_schemas(false))
89741
+ ORDER BY c.conname
89742
+
89743
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89744
+ FROM pg_constraint c
89745
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89746
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89747
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89748
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89749
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89750
+ WHERE c.contype = 'f'
89751
+ AND t1.relname = 'spina_layout_parts'
89752
+ AND t3.nspname = ANY (current_schemas(false))
89753
+ ORDER BY c.conname
89754
+ 
89755
+  (1.4ms) 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
89756
+ FROM pg_constraint c
89757
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89758
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89759
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89760
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89761
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89762
+ WHERE c.contype = 'f'
89763
+ AND t1.relname = 'spina_lines'
89764
+ AND t3.nspname = ANY (current_schemas(false))
89765
+ ORDER BY c.conname
89766
+
89767
+  (1.4ms) 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
89768
+ FROM pg_constraint c
89769
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89770
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89771
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89772
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89773
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89774
+ WHERE c.contype = 'f'
89775
+ AND t1.relname = 'spina_page_parts'
89776
+ AND t3.nspname = ANY (current_schemas(false))
89777
+ ORDER BY c.conname
89778
+ 
89779
+  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89780
+ FROM pg_constraint c
89781
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89782
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89783
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89784
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89785
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89786
+ WHERE c.contype = 'f'
89787
+ AND t1.relname = 'spina_pages'
89788
+ AND t3.nspname = ANY (current_schemas(false))
89789
+ ORDER BY c.conname
89790
+
89791
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89792
+ FROM pg_constraint c
89793
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89794
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89795
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89796
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89797
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89798
+ WHERE c.contype = 'f'
89799
+ AND t1.relname = 'spina_photo_collections'
89800
+ AND t3.nspname = ANY (current_schemas(false))
89801
+ ORDER BY c.conname
89802
+ 
89803
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89804
+ FROM pg_constraint c
89805
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89806
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89807
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89808
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89809
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89810
+ WHERE c.contype = 'f'
89811
+ AND t1.relname = 'spina_photo_collections_photos'
89812
+ AND t3.nspname = ANY (current_schemas(false))
89813
+ ORDER BY c.conname
89814
+
89815
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89816
+ FROM pg_constraint c
89817
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89818
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89819
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89820
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89821
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89822
+ WHERE c.contype = 'f'
89823
+ AND t1.relname = 'spina_photos'
89824
+ AND t3.nspname = ANY (current_schemas(false))
89825
+ ORDER BY c.conname
89826
+ 
89827
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89828
+ FROM pg_constraint c
89829
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89830
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89831
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89832
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89833
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89834
+ WHERE c.contype = 'f'
89835
+ AND t1.relname = 'spina_structure_items'
89836
+ AND t3.nspname = ANY (current_schemas(false))
89837
+ ORDER BY c.conname
89838
+
89839
+  (1.4ms) 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
89840
+ FROM pg_constraint c
89841
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89842
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89843
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89844
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89845
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89846
+ WHERE c.contype = 'f'
89847
+ AND t1.relname = 'spina_structure_parts'
89848
+ AND t3.nspname = ANY (current_schemas(false))
89849
+ ORDER BY c.conname
89850
+ 
89851
+  (1.4ms) 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
89852
+ FROM pg_constraint c
89853
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89854
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89855
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89856
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89857
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89858
+ WHERE c.contype = 'f'
89859
+ AND t1.relname = 'spina_structures'
89860
+ AND t3.nspname = ANY (current_schemas(false))
89861
+ ORDER BY c.conname
89862
+
89863
+  (1.4ms) 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
89864
+ FROM pg_constraint c
89865
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89866
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89867
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89868
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89869
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89870
+ WHERE c.contype = 'f'
89871
+ AND t1.relname = 'spina_texts'
89872
+ AND t3.nspname = ANY (current_schemas(false))
89873
+ ORDER BY c.conname
89874
+ 
89875
+  (1.4ms) 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
89876
+ FROM pg_constraint c
89877
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89878
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89879
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89880
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89881
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89882
+ WHERE c.contype = 'f'
89883
+ AND t1.relname = 'spina_users'
89884
+ AND t3.nspname = ANY (current_schemas(false))
89885
+ ORDER BY c.conname
89886
+
89887
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
89888
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
89889
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89890
+ FROM pg_constraint c
89891
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89892
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89893
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89894
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89895
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89896
+ WHERE c.contype = 'f'
89897
+ AND t1.relname = 'spina_accounts'
89898
+ AND t3.nspname = ANY (current_schemas(false))
89899
+ ORDER BY c.conname
89900
+ 
89901
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89902
+ FROM pg_constraint c
89903
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89904
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89905
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89906
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89907
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89908
+ WHERE c.contype = 'f'
89909
+ AND t1.relname = 'spina_attachment_collections'
89910
+ AND t3.nspname = ANY (current_schemas(false))
89911
+ ORDER BY c.conname
89912
+
89913
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89914
+ FROM pg_constraint c
89915
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89916
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89917
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89918
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89919
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89920
+ WHERE c.contype = 'f'
89921
+ AND t1.relname = 'spina_attachment_collections_attachments'
89922
+ AND t3.nspname = ANY (current_schemas(false))
89923
+ ORDER BY c.conname
89924
+ 
89925
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89926
+ FROM pg_constraint c
89927
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89928
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89929
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89930
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89931
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89932
+ WHERE c.contype = 'f'
89933
+ AND t1.relname = 'spina_attachments'
89934
+ AND t3.nspname = ANY (current_schemas(false))
89935
+ ORDER BY c.conname
89936
+
89937
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89938
+ FROM pg_constraint c
89939
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89940
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89941
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89942
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89943
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89944
+ WHERE c.contype = 'f'
89945
+ AND t1.relname = 'spina_colors'
89946
+ AND t3.nspname = ANY (current_schemas(false))
89947
+ ORDER BY c.conname
89948
+ 
89949
+  (1.4ms) 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
89950
+ FROM pg_constraint c
89951
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89952
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89953
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89954
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89955
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89956
+ WHERE c.contype = 'f'
89957
+ AND t1.relname = 'spina_inquiries'
89958
+ AND t3.nspname = ANY (current_schemas(false))
89959
+ ORDER BY c.conname
89960
+
89961
+  (1.4ms) 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
89962
+ FROM pg_constraint c
89963
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89964
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89965
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89966
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89967
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89968
+ WHERE c.contype = 'f'
89969
+ AND t1.relname = 'spina_layout_parts'
89970
+ AND t3.nspname = ANY (current_schemas(false))
89971
+ ORDER BY c.conname
89972
+ 
89973
+  (1.4ms) 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
89974
+ FROM pg_constraint c
89975
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89976
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89977
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89978
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89979
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89980
+ WHERE c.contype = 'f'
89981
+ AND t1.relname = 'spina_lines'
89982
+ AND t3.nspname = ANY (current_schemas(false))
89983
+ ORDER BY c.conname
89984
+
89985
+  (1.4ms) 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
89986
+ FROM pg_constraint c
89987
+ JOIN pg_class t1 ON c.conrelid = t1.oid
89988
+ JOIN pg_class t2 ON c.confrelid = t2.oid
89989
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
89990
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
89991
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
89992
+ WHERE c.contype = 'f'
89993
+ AND t1.relname = 'spina_page_parts'
89994
+ AND t3.nspname = ANY (current_schemas(false))
89995
+ ORDER BY c.conname
89996
+ 
89997
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
89998
+ FROM pg_constraint c
89999
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90000
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90001
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90002
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90003
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90004
+ WHERE c.contype = 'f'
90005
+ AND t1.relname = 'spina_pages'
90006
+ AND t3.nspname = ANY (current_schemas(false))
90007
+ ORDER BY c.conname
90008
+
90009
+  (1.4ms) 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
90010
+ FROM pg_constraint c
90011
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90012
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90013
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90014
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90015
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90016
+ WHERE c.contype = 'f'
90017
+ AND t1.relname = 'spina_photo_collections'
90018
+ AND t3.nspname = ANY (current_schemas(false))
90019
+ ORDER BY c.conname
90020
+ 
90021
+  (1.4ms) 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
90022
+ FROM pg_constraint c
90023
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90024
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90025
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90026
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90027
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90028
+ WHERE c.contype = 'f'
90029
+ AND t1.relname = 'spina_photo_collections_photos'
90030
+ AND t3.nspname = ANY (current_schemas(false))
90031
+ ORDER BY c.conname
90032
+
90033
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90034
+ FROM pg_constraint c
90035
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90036
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90037
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90038
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90039
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90040
+ WHERE c.contype = 'f'
90041
+ AND t1.relname = 'spina_photos'
90042
+ AND t3.nspname = ANY (current_schemas(false))
90043
+ ORDER BY c.conname
90044
+ 
90045
+  (1.4ms) 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
90046
+ FROM pg_constraint c
90047
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90048
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90049
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90050
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90051
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90052
+ WHERE c.contype = 'f'
90053
+ AND t1.relname = 'spina_structure_items'
90054
+ AND t3.nspname = ANY (current_schemas(false))
90055
+ ORDER BY c.conname
90056
+
90057
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90058
+ FROM pg_constraint c
90059
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90060
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90061
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90062
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90063
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90064
+ WHERE c.contype = 'f'
90065
+ AND t1.relname = 'spina_structure_parts'
90066
+ AND t3.nspname = ANY (current_schemas(false))
90067
+ ORDER BY c.conname
90068
+ 
90069
+  (1.4ms) 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
90070
+ FROM pg_constraint c
90071
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90072
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90073
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90074
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90075
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90076
+ WHERE c.contype = 'f'
90077
+ AND t1.relname = 'spina_structures'
90078
+ AND t3.nspname = ANY (current_schemas(false))
90079
+ ORDER BY c.conname
90080
+
90081
+  (1.4ms) 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
90082
+ FROM pg_constraint c
90083
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90084
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90085
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90086
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90087
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90088
+ WHERE c.contype = 'f'
90089
+ AND t1.relname = 'spina_texts'
90090
+ AND t3.nspname = ANY (current_schemas(false))
90091
+ ORDER BY c.conname
90092
+ 
90093
+  (1.4ms) 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
90094
+ FROM pg_constraint c
90095
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90096
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90097
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90098
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90099
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90100
+ WHERE c.contype = 'f'
90101
+ AND t1.relname = 'spina_users'
90102
+ AND t3.nspname = ANY (current_schemas(false))
90103
+ ORDER BY c.conname
90104
+
90105
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
90106
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
90107
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90108
+ FROM pg_constraint c
90109
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90110
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90111
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90112
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90113
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90114
+ WHERE c.contype = 'f'
90115
+ AND t1.relname = 'spina_accounts'
90116
+ AND t3.nspname = ANY (current_schemas(false))
90117
+ ORDER BY c.conname
90118
+ 
90119
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90120
+ FROM pg_constraint c
90121
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90122
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90123
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90124
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90125
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90126
+ WHERE c.contype = 'f'
90127
+ AND t1.relname = 'spina_attachment_collections'
90128
+ AND t3.nspname = ANY (current_schemas(false))
90129
+ ORDER BY c.conname
90130
+
90131
+  (1.4ms) 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
90132
+ FROM pg_constraint c
90133
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90134
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90135
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90136
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90137
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90138
+ WHERE c.contype = 'f'
90139
+ AND t1.relname = 'spina_attachment_collections_attachments'
90140
+ AND t3.nspname = ANY (current_schemas(false))
90141
+ ORDER BY c.conname
90142
+ 
90143
+  (1.4ms) 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
90144
+ FROM pg_constraint c
90145
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90146
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90147
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90148
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90149
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90150
+ WHERE c.contype = 'f'
90151
+ AND t1.relname = 'spina_attachments'
90152
+ AND t3.nspname = ANY (current_schemas(false))
90153
+ ORDER BY c.conname
90154
+
90155
+  (1.4ms) 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
90156
+ FROM pg_constraint c
90157
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90158
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90159
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90160
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90161
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90162
+ WHERE c.contype = 'f'
90163
+ AND t1.relname = 'spina_colors'
90164
+ AND t3.nspname = ANY (current_schemas(false))
90165
+ ORDER BY c.conname
90166
+ 
90167
+  (1.4ms) 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
90168
+ FROM pg_constraint c
90169
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90170
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90171
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90172
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90173
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90174
+ WHERE c.contype = 'f'
90175
+ AND t1.relname = 'spina_inquiries'
90176
+ AND t3.nspname = ANY (current_schemas(false))
90177
+ ORDER BY c.conname
90178
+
90179
+  (1.4ms) 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
90180
+ FROM pg_constraint c
90181
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90182
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90183
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90184
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90185
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90186
+ WHERE c.contype = 'f'
90187
+ AND t1.relname = 'spina_layout_parts'
90188
+ AND t3.nspname = ANY (current_schemas(false))
90189
+ ORDER BY c.conname
90190
+ 
90191
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90192
+ FROM pg_constraint c
90193
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90194
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90195
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90196
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90197
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90198
+ WHERE c.contype = 'f'
90199
+ AND t1.relname = 'spina_lines'
90200
+ AND t3.nspname = ANY (current_schemas(false))
90201
+ ORDER BY c.conname
90202
+
90203
+  (1.4ms) 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
90204
+ FROM pg_constraint c
90205
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90206
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90207
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90208
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90209
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90210
+ WHERE c.contype = 'f'
90211
+ AND t1.relname = 'spina_page_parts'
90212
+ AND t3.nspname = ANY (current_schemas(false))
90213
+ ORDER BY c.conname
90214
+ 
90215
+  (1.4ms) 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
90216
+ FROM pg_constraint c
90217
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90218
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90219
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90220
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90221
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90222
+ WHERE c.contype = 'f'
90223
+ AND t1.relname = 'spina_pages'
90224
+ AND t3.nspname = ANY (current_schemas(false))
90225
+ ORDER BY c.conname
90226
+
90227
+  (1.4ms) 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
90228
+ FROM pg_constraint c
90229
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90230
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90231
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90232
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90233
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90234
+ WHERE c.contype = 'f'
90235
+ AND t1.relname = 'spina_photo_collections'
90236
+ AND t3.nspname = ANY (current_schemas(false))
90237
+ ORDER BY c.conname
90238
+ 
90239
+  (1.4ms) 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
90240
+ FROM pg_constraint c
90241
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90242
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90243
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90244
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90245
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90246
+ WHERE c.contype = 'f'
90247
+ AND t1.relname = 'spina_photo_collections_photos'
90248
+ AND t3.nspname = ANY (current_schemas(false))
90249
+ ORDER BY c.conname
90250
+
90251
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90252
+ FROM pg_constraint c
90253
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90254
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90255
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90256
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90257
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90258
+ WHERE c.contype = 'f'
90259
+ AND t1.relname = 'spina_photos'
90260
+ AND t3.nspname = ANY (current_schemas(false))
90261
+ ORDER BY c.conname
90262
+ 
90263
+  (1.4ms) 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
90264
+ FROM pg_constraint c
90265
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90266
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90267
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90268
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90269
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90270
+ WHERE c.contype = 'f'
90271
+ AND t1.relname = 'spina_structure_items'
90272
+ AND t3.nspname = ANY (current_schemas(false))
90273
+ ORDER BY c.conname
90274
+
90275
+  (1.4ms) 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
90276
+ FROM pg_constraint c
90277
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90278
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90279
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90280
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90281
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90282
+ WHERE c.contype = 'f'
90283
+ AND t1.relname = 'spina_structure_parts'
90284
+ AND t3.nspname = ANY (current_schemas(false))
90285
+ ORDER BY c.conname
90286
+ 
90287
+  (1.4ms) 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
90288
+ FROM pg_constraint c
90289
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90290
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90291
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90292
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90293
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90294
+ WHERE c.contype = 'f'
90295
+ AND t1.relname = 'spina_structures'
90296
+ AND t3.nspname = ANY (current_schemas(false))
90297
+ ORDER BY c.conname
90298
+
90299
+  (1.4ms) 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
90300
+ FROM pg_constraint c
90301
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90302
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90303
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90304
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90305
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90306
+ WHERE c.contype = 'f'
90307
+ AND t1.relname = 'spina_texts'
90308
+ AND t3.nspname = ANY (current_schemas(false))
90309
+ ORDER BY c.conname
90310
+ 
90311
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90312
+ FROM pg_constraint c
90313
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90314
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90315
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90316
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90317
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90318
+ WHERE c.contype = 'f'
90319
+ AND t1.relname = 'spina_users'
90320
+ AND t3.nspname = ANY (current_schemas(false))
90321
+ ORDER BY c.conname
90322
+
90323
+ ActiveRecord::SchemaMigration Load (7.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
90324
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
90325
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90326
+ FROM pg_constraint c
90327
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90328
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90329
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90330
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90331
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90332
+ WHERE c.contype = 'f'
90333
+ AND t1.relname = 'spina_accounts'
90334
+ AND t3.nspname = ANY (current_schemas(false))
90335
+ ORDER BY c.conname
90336
+ 
90337
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90338
+ FROM pg_constraint c
90339
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90340
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90341
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90342
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90343
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90344
+ WHERE c.contype = 'f'
90345
+ AND t1.relname = 'spina_attachment_collections'
90346
+ AND t3.nspname = ANY (current_schemas(false))
90347
+ ORDER BY c.conname
90348
+
90349
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90350
+ FROM pg_constraint c
90351
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90352
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90353
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90354
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90355
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90356
+ WHERE c.contype = 'f'
90357
+ AND t1.relname = 'spina_attachment_collections_attachments'
90358
+ AND t3.nspname = ANY (current_schemas(false))
90359
+ ORDER BY c.conname
90360
+ 
90361
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90362
+ FROM pg_constraint c
90363
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90364
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90365
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90366
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90367
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90368
+ WHERE c.contype = 'f'
90369
+ AND t1.relname = 'spina_attachments'
90370
+ AND t3.nspname = ANY (current_schemas(false))
90371
+ ORDER BY c.conname
90372
+
90373
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90374
+ FROM pg_constraint c
90375
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90376
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90377
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90378
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90379
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90380
+ WHERE c.contype = 'f'
90381
+ AND t1.relname = 'spina_colors'
90382
+ AND t3.nspname = ANY (current_schemas(false))
90383
+ ORDER BY c.conname
90384
+ 
90385
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90386
+ FROM pg_constraint c
90387
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90388
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90389
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90390
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90391
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90392
+ WHERE c.contype = 'f'
90393
+ AND t1.relname = 'spina_inquiries'
90394
+ AND t3.nspname = ANY (current_schemas(false))
90395
+ ORDER BY c.conname
90396
+
90397
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90398
+ FROM pg_constraint c
90399
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90400
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90401
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90402
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90403
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90404
+ WHERE c.contype = 'f'
90405
+ AND t1.relname = 'spina_layout_parts'
90406
+ AND t3.nspname = ANY (current_schemas(false))
90407
+ ORDER BY c.conname
90408
+ 
90409
+  (1.4ms) 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
90410
+ FROM pg_constraint c
90411
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90412
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90413
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90414
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90415
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90416
+ WHERE c.contype = 'f'
90417
+ AND t1.relname = 'spina_lines'
90418
+ AND t3.nspname = ANY (current_schemas(false))
90419
+ ORDER BY c.conname
90420
+
90421
+  (1.4ms) 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
90422
+ FROM pg_constraint c
90423
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90424
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90425
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90426
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90427
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90428
+ WHERE c.contype = 'f'
90429
+ AND t1.relname = 'spina_page_parts'
90430
+ AND t3.nspname = ANY (current_schemas(false))
90431
+ ORDER BY c.conname
90432
+ 
90433
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90434
+ FROM pg_constraint c
90435
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90436
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90437
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90438
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90439
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90440
+ WHERE c.contype = 'f'
90441
+ AND t1.relname = 'spina_pages'
90442
+ AND t3.nspname = ANY (current_schemas(false))
90443
+ ORDER BY c.conname
90444
+
90445
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90446
+ FROM pg_constraint c
90447
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90448
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90449
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90450
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90451
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90452
+ WHERE c.contype = 'f'
90453
+ AND t1.relname = 'spina_photo_collections'
90454
+ AND t3.nspname = ANY (current_schemas(false))
90455
+ ORDER BY c.conname
90456
+ 
90457
+  (1.4ms) 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
90458
+ FROM pg_constraint c
90459
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90460
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90461
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90462
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90463
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90464
+ WHERE c.contype = 'f'
90465
+ AND t1.relname = 'spina_photo_collections_photos'
90466
+ AND t3.nspname = ANY (current_schemas(false))
90467
+ ORDER BY c.conname
90468
+
90469
+  (1.4ms) 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
90470
+ FROM pg_constraint c
90471
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90472
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90473
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90474
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90475
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90476
+ WHERE c.contype = 'f'
90477
+ AND t1.relname = 'spina_photos'
90478
+ AND t3.nspname = ANY (current_schemas(false))
90479
+ ORDER BY c.conname
90480
+ 
90481
+  (1.4ms) 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
90482
+ FROM pg_constraint c
90483
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90484
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90485
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90486
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90487
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90488
+ WHERE c.contype = 'f'
90489
+ AND t1.relname = 'spina_structure_items'
90490
+ AND t3.nspname = ANY (current_schemas(false))
90491
+ ORDER BY c.conname
90492
+
90493
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90494
+ FROM pg_constraint c
90495
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90496
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90497
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90498
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90499
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90500
+ WHERE c.contype = 'f'
90501
+ AND t1.relname = 'spina_structure_parts'
90502
+ AND t3.nspname = ANY (current_schemas(false))
90503
+ ORDER BY c.conname
90504
+ 
90505
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90506
+ FROM pg_constraint c
90507
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90508
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90509
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90510
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90511
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90512
+ WHERE c.contype = 'f'
90513
+ AND t1.relname = 'spina_structures'
90514
+ AND t3.nspname = ANY (current_schemas(false))
90515
+ ORDER BY c.conname
90516
+
90517
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90518
+ FROM pg_constraint c
90519
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90520
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90521
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90522
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90523
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90524
+ WHERE c.contype = 'f'
90525
+ AND t1.relname = 'spina_texts'
90526
+ AND t3.nspname = ANY (current_schemas(false))
90527
+ ORDER BY c.conname
90528
+ 
90529
+  (1.4ms) 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
90530
+ FROM pg_constraint c
90531
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90532
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90533
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90534
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90535
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90536
+ WHERE c.contype = 'f'
90537
+ AND t1.relname = 'spina_users'
90538
+ AND t3.nspname = ANY (current_schemas(false))
90539
+ ORDER BY c.conname
90540
+
90541
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
90542
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
90543
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90544
+ FROM pg_constraint c
90545
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90546
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90547
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90548
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90549
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90550
+ WHERE c.contype = 'f'
90551
+ AND t1.relname = 'spina_accounts'
90552
+ AND t3.nspname = ANY (current_schemas(false))
90553
+ ORDER BY c.conname
90554
+ 
90555
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90556
+ FROM pg_constraint c
90557
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90558
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90559
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90560
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90561
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90562
+ WHERE c.contype = 'f'
90563
+ AND t1.relname = 'spina_attachment_collections'
90564
+ AND t3.nspname = ANY (current_schemas(false))
90565
+ ORDER BY c.conname
90566
+
90567
+  (1.4ms) 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
90568
+ FROM pg_constraint c
90569
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90570
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90571
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90572
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90573
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90574
+ WHERE c.contype = 'f'
90575
+ AND t1.relname = 'spina_attachment_collections_attachments'
90576
+ AND t3.nspname = ANY (current_schemas(false))
90577
+ ORDER BY c.conname
90578
+ 
90579
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90580
+ FROM pg_constraint c
90581
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90582
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90583
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90584
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90585
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90586
+ WHERE c.contype = 'f'
90587
+ AND t1.relname = 'spina_attachments'
90588
+ AND t3.nspname = ANY (current_schemas(false))
90589
+ ORDER BY c.conname
90590
+
90591
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90592
+ FROM pg_constraint c
90593
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90594
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90595
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90596
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90597
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90598
+ WHERE c.contype = 'f'
90599
+ AND t1.relname = 'spina_colors'
90600
+ AND t3.nspname = ANY (current_schemas(false))
90601
+ ORDER BY c.conname
90602
+ 
90603
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90604
+ FROM pg_constraint c
90605
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90606
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90607
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90608
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90609
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90610
+ WHERE c.contype = 'f'
90611
+ AND t1.relname = 'spina_inquiries'
90612
+ AND t3.nspname = ANY (current_schemas(false))
90613
+ ORDER BY c.conname
90614
+
90615
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90616
+ FROM pg_constraint c
90617
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90618
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90619
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90620
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90621
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90622
+ WHERE c.contype = 'f'
90623
+ AND t1.relname = 'spina_layout_parts'
90624
+ AND t3.nspname = ANY (current_schemas(false))
90625
+ ORDER BY c.conname
90626
+ 
90627
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90628
+ FROM pg_constraint c
90629
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90630
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90631
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90632
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90633
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90634
+ WHERE c.contype = 'f'
90635
+ AND t1.relname = 'spina_lines'
90636
+ AND t3.nspname = ANY (current_schemas(false))
90637
+ ORDER BY c.conname
90638
+
90639
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90640
+ FROM pg_constraint c
90641
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90642
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90643
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90644
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90645
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90646
+ WHERE c.contype = 'f'
90647
+ AND t1.relname = 'spina_page_parts'
90648
+ AND t3.nspname = ANY (current_schemas(false))
90649
+ ORDER BY c.conname
90650
+ 
90651
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90652
+ FROM pg_constraint c
90653
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90654
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90655
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90656
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90657
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90658
+ WHERE c.contype = 'f'
90659
+ AND t1.relname = 'spina_pages'
90660
+ AND t3.nspname = ANY (current_schemas(false))
90661
+ ORDER BY c.conname
90662
+
90663
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90664
+ FROM pg_constraint c
90665
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90666
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90667
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90668
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90669
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90670
+ WHERE c.contype = 'f'
90671
+ AND t1.relname = 'spina_photo_collections'
90672
+ AND t3.nspname = ANY (current_schemas(false))
90673
+ ORDER BY c.conname
90674
+ 
90675
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90676
+ FROM pg_constraint c
90677
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90678
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90679
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90680
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90681
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90682
+ WHERE c.contype = 'f'
90683
+ AND t1.relname = 'spina_photo_collections_photos'
90684
+ AND t3.nspname = ANY (current_schemas(false))
90685
+ ORDER BY c.conname
90686
+
90687
+  (1.4ms) 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
90688
+ FROM pg_constraint c
90689
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90690
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90691
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90692
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90693
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90694
+ WHERE c.contype = 'f'
90695
+ AND t1.relname = 'spina_photos'
90696
+ AND t3.nspname = ANY (current_schemas(false))
90697
+ ORDER BY c.conname
90698
+ 
90699
+  (1.4ms) 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
90700
+ FROM pg_constraint c
90701
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90702
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90703
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90704
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90705
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90706
+ WHERE c.contype = 'f'
90707
+ AND t1.relname = 'spina_structure_items'
90708
+ AND t3.nspname = ANY (current_schemas(false))
90709
+ ORDER BY c.conname
90710
+
90711
+  (1.4ms) 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
90712
+ FROM pg_constraint c
90713
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90714
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90715
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90716
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90717
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90718
+ WHERE c.contype = 'f'
90719
+ AND t1.relname = 'spina_structure_parts'
90720
+ AND t3.nspname = ANY (current_schemas(false))
90721
+ ORDER BY c.conname
90722
+ 
90723
+  (1.4ms) 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
90724
+ FROM pg_constraint c
90725
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90726
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90727
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90728
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90729
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90730
+ WHERE c.contype = 'f'
90731
+ AND t1.relname = 'spina_structures'
90732
+ AND t3.nspname = ANY (current_schemas(false))
90733
+ ORDER BY c.conname
90734
+
90735
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90736
+ FROM pg_constraint c
90737
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90738
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90739
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90740
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90741
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90742
+ WHERE c.contype = 'f'
90743
+ AND t1.relname = 'spina_texts'
90744
+ AND t3.nspname = ANY (current_schemas(false))
90745
+ ORDER BY c.conname
90746
+ 
90747
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90748
+ FROM pg_constraint c
90749
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90750
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90751
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90752
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90753
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90754
+ WHERE c.contype = 'f'
90755
+ AND t1.relname = 'spina_users'
90756
+ AND t3.nspname = ANY (current_schemas(false))
90757
+ ORDER BY c.conname
90758
+
90759
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
90760
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
90761
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90762
+ FROM pg_constraint c
90763
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90764
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90765
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90766
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90767
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90768
+ WHERE c.contype = 'f'
90769
+ AND t1.relname = 'spina_accounts'
90770
+ AND t3.nspname = ANY (current_schemas(false))
90771
+ ORDER BY c.conname
90772
+ 
90773
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90774
+ FROM pg_constraint c
90775
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90776
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90777
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90778
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90779
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90780
+ WHERE c.contype = 'f'
90781
+ AND t1.relname = 'spina_attachment_collections'
90782
+ AND t3.nspname = ANY (current_schemas(false))
90783
+ ORDER BY c.conname
90784
+
90785
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90786
+ FROM pg_constraint c
90787
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90788
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90789
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90790
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90791
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90792
+ WHERE c.contype = 'f'
90793
+ AND t1.relname = 'spina_attachment_collections_attachments'
90794
+ AND t3.nspname = ANY (current_schemas(false))
90795
+ ORDER BY c.conname
90796
+ 
90797
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90798
+ FROM pg_constraint c
90799
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90800
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90801
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90802
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90803
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90804
+ WHERE c.contype = 'f'
90805
+ AND t1.relname = 'spina_attachments'
90806
+ AND t3.nspname = ANY (current_schemas(false))
90807
+ ORDER BY c.conname
90808
+
90809
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90810
+ FROM pg_constraint c
90811
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90812
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90813
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90814
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90815
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90816
+ WHERE c.contype = 'f'
90817
+ AND t1.relname = 'spina_colors'
90818
+ AND t3.nspname = ANY (current_schemas(false))
90819
+ ORDER BY c.conname
90820
+ 
90821
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90822
+ FROM pg_constraint c
90823
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90824
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90825
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90826
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90827
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90828
+ WHERE c.contype = 'f'
90829
+ AND t1.relname = 'spina_inquiries'
90830
+ AND t3.nspname = ANY (current_schemas(false))
90831
+ ORDER BY c.conname
90832
+
90833
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90834
+ FROM pg_constraint c
90835
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90836
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90837
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90838
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90839
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90840
+ WHERE c.contype = 'f'
90841
+ AND t1.relname = 'spina_layout_parts'
90842
+ AND t3.nspname = ANY (current_schemas(false))
90843
+ ORDER BY c.conname
90844
+ 
90845
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90846
+ FROM pg_constraint c
90847
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90848
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90849
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90850
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90851
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90852
+ WHERE c.contype = 'f'
90853
+ AND t1.relname = 'spina_lines'
90854
+ AND t3.nspname = ANY (current_schemas(false))
90855
+ ORDER BY c.conname
90856
+
90857
+  (1.4ms) 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
90858
+ FROM pg_constraint c
90859
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90860
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90861
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90862
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90863
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90864
+ WHERE c.contype = 'f'
90865
+ AND t1.relname = 'spina_page_parts'
90866
+ AND t3.nspname = ANY (current_schemas(false))
90867
+ ORDER BY c.conname
90868
+ 
90869
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90870
+ FROM pg_constraint c
90871
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90872
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90873
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90874
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90875
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90876
+ WHERE c.contype = 'f'
90877
+ AND t1.relname = 'spina_pages'
90878
+ AND t3.nspname = ANY (current_schemas(false))
90879
+ ORDER BY c.conname
90880
+
90881
+  (1.4ms) 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
90882
+ FROM pg_constraint c
90883
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90884
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90885
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90886
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90887
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90888
+ WHERE c.contype = 'f'
90889
+ AND t1.relname = 'spina_photo_collections'
90890
+ AND t3.nspname = ANY (current_schemas(false))
90891
+ ORDER BY c.conname
90892
+ 
90893
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90894
+ FROM pg_constraint c
90895
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90896
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90897
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90898
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90899
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90900
+ WHERE c.contype = 'f'
90901
+ AND t1.relname = 'spina_photo_collections_photos'
90902
+ AND t3.nspname = ANY (current_schemas(false))
90903
+ ORDER BY c.conname
90904
+
90905
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90906
+ FROM pg_constraint c
90907
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90908
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90909
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90910
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90911
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90912
+ WHERE c.contype = 'f'
90913
+ AND t1.relname = 'spina_photos'
90914
+ AND t3.nspname = ANY (current_schemas(false))
90915
+ ORDER BY c.conname
90916
+ 
90917
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90918
+ FROM pg_constraint c
90919
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90920
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90921
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90922
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90923
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90924
+ WHERE c.contype = 'f'
90925
+ AND t1.relname = 'spina_structure_items'
90926
+ AND t3.nspname = ANY (current_schemas(false))
90927
+ ORDER BY c.conname
90928
+
90929
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90930
+ FROM pg_constraint c
90931
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90932
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90933
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90934
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90935
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90936
+ WHERE c.contype = 'f'
90937
+ AND t1.relname = 'spina_structure_parts'
90938
+ AND t3.nspname = ANY (current_schemas(false))
90939
+ ORDER BY c.conname
90940
+ 
90941
+  (1.4ms) 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
90942
+ FROM pg_constraint c
90943
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90944
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90945
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90946
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90947
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90948
+ WHERE c.contype = 'f'
90949
+ AND t1.relname = 'spina_structures'
90950
+ AND t3.nspname = ANY (current_schemas(false))
90951
+ ORDER BY c.conname
90952
+
90953
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90954
+ FROM pg_constraint c
90955
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90956
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90957
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90958
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90959
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90960
+ WHERE c.contype = 'f'
90961
+ AND t1.relname = 'spina_texts'
90962
+ AND t3.nspname = ANY (current_schemas(false))
90963
+ ORDER BY c.conname
90964
+ 
90965
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90966
+ FROM pg_constraint c
90967
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90968
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90969
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90970
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90971
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90972
+ WHERE c.contype = 'f'
90973
+ AND t1.relname = 'spina_users'
90974
+ AND t3.nspname = ANY (current_schemas(false))
90975
+ ORDER BY c.conname
90976
+
90977
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
90978
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
90979
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90980
+ FROM pg_constraint c
90981
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90982
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90983
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90984
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90985
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90986
+ WHERE c.contype = 'f'
90987
+ AND t1.relname = 'spina_accounts'
90988
+ AND t3.nspname = ANY (current_schemas(false))
90989
+ ORDER BY c.conname
90990
+ 
90991
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
90992
+ FROM pg_constraint c
90993
+ JOIN pg_class t1 ON c.conrelid = t1.oid
90994
+ JOIN pg_class t2 ON c.confrelid = t2.oid
90995
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
90996
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
90997
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
90998
+ WHERE c.contype = 'f'
90999
+ AND t1.relname = 'spina_attachment_collections'
91000
+ AND t3.nspname = ANY (current_schemas(false))
91001
+ ORDER BY c.conname
91002
+
91003
+  (1.4ms) 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
91004
+ FROM pg_constraint c
91005
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91006
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91007
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91008
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91009
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91010
+ WHERE c.contype = 'f'
91011
+ AND t1.relname = 'spina_attachment_collections_attachments'
91012
+ AND t3.nspname = ANY (current_schemas(false))
91013
+ ORDER BY c.conname
91014
+ 
91015
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91016
+ FROM pg_constraint c
91017
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91018
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91019
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91020
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91021
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91022
+ WHERE c.contype = 'f'
91023
+ AND t1.relname = 'spina_attachments'
91024
+ AND t3.nspname = ANY (current_schemas(false))
91025
+ ORDER BY c.conname
91026
+
91027
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91028
+ FROM pg_constraint c
91029
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91030
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91031
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91032
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91033
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91034
+ WHERE c.contype = 'f'
91035
+ AND t1.relname = 'spina_colors'
91036
+ AND t3.nspname = ANY (current_schemas(false))
91037
+ ORDER BY c.conname
91038
+ 
91039
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91040
+ FROM pg_constraint c
91041
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91042
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91043
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91044
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91045
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91046
+ WHERE c.contype = 'f'
91047
+ AND t1.relname = 'spina_inquiries'
91048
+ AND t3.nspname = ANY (current_schemas(false))
91049
+ ORDER BY c.conname
91050
+
91051
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91052
+ FROM pg_constraint c
91053
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91054
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91055
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91056
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91057
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91058
+ WHERE c.contype = 'f'
91059
+ AND t1.relname = 'spina_layout_parts'
91060
+ AND t3.nspname = ANY (current_schemas(false))
91061
+ ORDER BY c.conname
91062
+ 
91063
+  (1.4ms) 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
91064
+ FROM pg_constraint c
91065
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91066
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91067
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91068
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91069
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91070
+ WHERE c.contype = 'f'
91071
+ AND t1.relname = 'spina_lines'
91072
+ AND t3.nspname = ANY (current_schemas(false))
91073
+ ORDER BY c.conname
91074
+
91075
+  (1.4ms) 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
91076
+ FROM pg_constraint c
91077
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91078
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91079
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91080
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91081
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91082
+ WHERE c.contype = 'f'
91083
+ AND t1.relname = 'spina_page_parts'
91084
+ AND t3.nspname = ANY (current_schemas(false))
91085
+ ORDER BY c.conname
91086
+ 
91087
+  (1.4ms) 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
91088
+ FROM pg_constraint c
91089
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91090
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91091
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91092
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91093
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91094
+ WHERE c.contype = 'f'
91095
+ AND t1.relname = 'spina_pages'
91096
+ AND t3.nspname = ANY (current_schemas(false))
91097
+ ORDER BY c.conname
91098
+
91099
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91100
+ FROM pg_constraint c
91101
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91102
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91103
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91104
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91105
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91106
+ WHERE c.contype = 'f'
91107
+ AND t1.relname = 'spina_photo_collections'
91108
+ AND t3.nspname = ANY (current_schemas(false))
91109
+ ORDER BY c.conname
91110
+ 
91111
+  (1.4ms) 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
91112
+ FROM pg_constraint c
91113
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91114
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91115
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91116
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91117
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91118
+ WHERE c.contype = 'f'
91119
+ AND t1.relname = 'spina_photo_collections_photos'
91120
+ AND t3.nspname = ANY (current_schemas(false))
91121
+ ORDER BY c.conname
91122
+
91123
+  (1.4ms) 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
91124
+ FROM pg_constraint c
91125
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91126
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91127
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91128
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91129
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91130
+ WHERE c.contype = 'f'
91131
+ AND t1.relname = 'spina_photos'
91132
+ AND t3.nspname = ANY (current_schemas(false))
91133
+ ORDER BY c.conname
91134
+ 
91135
+  (1.4ms) 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
91136
+ FROM pg_constraint c
91137
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91138
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91139
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91140
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91141
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91142
+ WHERE c.contype = 'f'
91143
+ AND t1.relname = 'spina_structure_items'
91144
+ AND t3.nspname = ANY (current_schemas(false))
91145
+ ORDER BY c.conname
91146
+
91147
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91148
+ FROM pg_constraint c
91149
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91150
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91151
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91152
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91153
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91154
+ WHERE c.contype = 'f'
91155
+ AND t1.relname = 'spina_structure_parts'
91156
+ AND t3.nspname = ANY (current_schemas(false))
91157
+ ORDER BY c.conname
91158
+ 
91159
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91160
+ FROM pg_constraint c
91161
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91162
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91163
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91164
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91165
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91166
+ WHERE c.contype = 'f'
91167
+ AND t1.relname = 'spina_structures'
91168
+ AND t3.nspname = ANY (current_schemas(false))
91169
+ ORDER BY c.conname
91170
+
91171
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91172
+ FROM pg_constraint c
91173
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91174
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91175
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91176
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91177
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91178
+ WHERE c.contype = 'f'
91179
+ AND t1.relname = 'spina_texts'
91180
+ AND t3.nspname = ANY (current_schemas(false))
91181
+ ORDER BY c.conname
91182
+ 
91183
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91184
+ FROM pg_constraint c
91185
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91186
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91187
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91188
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91189
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91190
+ WHERE c.contype = 'f'
91191
+ AND t1.relname = 'spina_users'
91192
+ AND t3.nspname = ANY (current_schemas(false))
91193
+ ORDER BY c.conname
91194
+
91195
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
91196
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
91197
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91198
+ FROM pg_constraint c
91199
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91200
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91201
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91202
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91203
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91204
+ WHERE c.contype = 'f'
91205
+ AND t1.relname = 'spina_accounts'
91206
+ AND t3.nspname = ANY (current_schemas(false))
91207
+ ORDER BY c.conname
91208
+ 
91209
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91210
+ FROM pg_constraint c
91211
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91212
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91213
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91214
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91215
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91216
+ WHERE c.contype = 'f'
91217
+ AND t1.relname = 'spina_attachment_collections'
91218
+ AND t3.nspname = ANY (current_schemas(false))
91219
+ ORDER BY c.conname
91220
+
91221
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91222
+ FROM pg_constraint c
91223
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91224
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91225
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91226
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91227
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91228
+ WHERE c.contype = 'f'
91229
+ AND t1.relname = 'spina_attachment_collections_attachments'
91230
+ AND t3.nspname = ANY (current_schemas(false))
91231
+ ORDER BY c.conname
91232
+ 
91233
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91234
+ FROM pg_constraint c
91235
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91236
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91237
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91238
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91239
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91240
+ WHERE c.contype = 'f'
91241
+ AND t1.relname = 'spina_attachments'
91242
+ AND t3.nspname = ANY (current_schemas(false))
91243
+ ORDER BY c.conname
91244
+
91245
+  (1.4ms) 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
91246
+ FROM pg_constraint c
91247
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91248
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91249
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91250
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91251
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91252
+ WHERE c.contype = 'f'
91253
+ AND t1.relname = 'spina_colors'
91254
+ AND t3.nspname = ANY (current_schemas(false))
91255
+ ORDER BY c.conname
91256
+ 
91257
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91258
+ FROM pg_constraint c
91259
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91260
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91261
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91262
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91263
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91264
+ WHERE c.contype = 'f'
91265
+ AND t1.relname = 'spina_inquiries'
91266
+ AND t3.nspname = ANY (current_schemas(false))
91267
+ ORDER BY c.conname
91268
+
91269
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91270
+ FROM pg_constraint c
91271
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91272
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91273
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91274
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91275
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91276
+ WHERE c.contype = 'f'
91277
+ AND t1.relname = 'spina_layout_parts'
91278
+ AND t3.nspname = ANY (current_schemas(false))
91279
+ ORDER BY c.conname
91280
+ 
91281
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91282
+ FROM pg_constraint c
91283
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91284
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91285
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91286
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91287
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91288
+ WHERE c.contype = 'f'
91289
+ AND t1.relname = 'spina_lines'
91290
+ AND t3.nspname = ANY (current_schemas(false))
91291
+ ORDER BY c.conname
91292
+
91293
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91294
+ FROM pg_constraint c
91295
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91296
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91297
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91298
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91299
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91300
+ WHERE c.contype = 'f'
91301
+ AND t1.relname = 'spina_page_parts'
91302
+ AND t3.nspname = ANY (current_schemas(false))
91303
+ ORDER BY c.conname
91304
+ 
91305
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91306
+ FROM pg_constraint c
91307
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91308
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91309
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91310
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91311
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91312
+ WHERE c.contype = 'f'
91313
+ AND t1.relname = 'spina_pages'
91314
+ AND t3.nspname = ANY (current_schemas(false))
91315
+ ORDER BY c.conname
91316
+
91317
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91318
+ FROM pg_constraint c
91319
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91320
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91321
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91322
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91323
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91324
+ WHERE c.contype = 'f'
91325
+ AND t1.relname = 'spina_photo_collections'
91326
+ AND t3.nspname = ANY (current_schemas(false))
91327
+ ORDER BY c.conname
91328
+ 
91329
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91330
+ FROM pg_constraint c
91331
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91332
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91333
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91334
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91335
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91336
+ WHERE c.contype = 'f'
91337
+ AND t1.relname = 'spina_photo_collections_photos'
91338
+ AND t3.nspname = ANY (current_schemas(false))
91339
+ ORDER BY c.conname
91340
+
91341
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91342
+ FROM pg_constraint c
91343
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91344
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91345
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91346
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91347
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91348
+ WHERE c.contype = 'f'
91349
+ AND t1.relname = 'spina_photos'
91350
+ AND t3.nspname = ANY (current_schemas(false))
91351
+ ORDER BY c.conname
91352
+ 
91353
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91354
+ FROM pg_constraint c
91355
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91356
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91357
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91358
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91359
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91360
+ WHERE c.contype = 'f'
91361
+ AND t1.relname = 'spina_structure_items'
91362
+ AND t3.nspname = ANY (current_schemas(false))
91363
+ ORDER BY c.conname
91364
+
91365
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91366
+ FROM pg_constraint c
91367
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91368
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91369
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91370
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91371
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91372
+ WHERE c.contype = 'f'
91373
+ AND t1.relname = 'spina_structure_parts'
91374
+ AND t3.nspname = ANY (current_schemas(false))
91375
+ ORDER BY c.conname
91376
+ 
91377
+  (1.4ms) 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
91378
+ FROM pg_constraint c
91379
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91380
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91381
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91382
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91383
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91384
+ WHERE c.contype = 'f'
91385
+ AND t1.relname = 'spina_structures'
91386
+ AND t3.nspname = ANY (current_schemas(false))
91387
+ ORDER BY c.conname
91388
+
91389
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91390
+ FROM pg_constraint c
91391
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91392
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91393
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91394
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91395
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91396
+ WHERE c.contype = 'f'
91397
+ AND t1.relname = 'spina_texts'
91398
+ AND t3.nspname = ANY (current_schemas(false))
91399
+ ORDER BY c.conname
91400
+ 
91401
+  (1.4ms) 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
91402
+ FROM pg_constraint c
91403
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91404
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91405
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91406
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91407
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91408
+ WHERE c.contype = 'f'
91409
+ AND t1.relname = 'spina_users'
91410
+ AND t3.nspname = ANY (current_schemas(false))
91411
+ ORDER BY c.conname
91412
+
91413
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
91414
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
91415
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91416
+ FROM pg_constraint c
91417
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91418
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91419
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91420
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91421
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91422
+ WHERE c.contype = 'f'
91423
+ AND t1.relname = 'spina_accounts'
91424
+ AND t3.nspname = ANY (current_schemas(false))
91425
+ ORDER BY c.conname
91426
+ 
91427
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91428
+ FROM pg_constraint c
91429
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91430
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91431
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91432
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91433
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91434
+ WHERE c.contype = 'f'
91435
+ AND t1.relname = 'spina_attachment_collections'
91436
+ AND t3.nspname = ANY (current_schemas(false))
91437
+ ORDER BY c.conname
91438
+
91439
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91440
+ FROM pg_constraint c
91441
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91442
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91443
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91444
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91445
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91446
+ WHERE c.contype = 'f'
91447
+ AND t1.relname = 'spina_attachment_collections_attachments'
91448
+ AND t3.nspname = ANY (current_schemas(false))
91449
+ ORDER BY c.conname
91450
+ 
91451
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91452
+ FROM pg_constraint c
91453
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91454
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91455
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91456
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91457
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91458
+ WHERE c.contype = 'f'
91459
+ AND t1.relname = 'spina_attachments'
91460
+ AND t3.nspname = ANY (current_schemas(false))
91461
+ ORDER BY c.conname
91462
+
91463
+  (1.4ms) 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
91464
+ FROM pg_constraint c
91465
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91466
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91467
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91468
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91469
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91470
+ WHERE c.contype = 'f'
91471
+ AND t1.relname = 'spina_colors'
91472
+ AND t3.nspname = ANY (current_schemas(false))
91473
+ ORDER BY c.conname
91474
+ 
91475
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91476
+ FROM pg_constraint c
91477
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91478
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91479
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91480
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91481
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91482
+ WHERE c.contype = 'f'
91483
+ AND t1.relname = 'spina_inquiries'
91484
+ AND t3.nspname = ANY (current_schemas(false))
91485
+ ORDER BY c.conname
91486
+
91487
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91488
+ FROM pg_constraint c
91489
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91490
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91491
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91492
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91493
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91494
+ WHERE c.contype = 'f'
91495
+ AND t1.relname = 'spina_layout_parts'
91496
+ AND t3.nspname = ANY (current_schemas(false))
91497
+ ORDER BY c.conname
91498
+ 
91499
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91500
+ FROM pg_constraint c
91501
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91502
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91503
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91504
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91505
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91506
+ WHERE c.contype = 'f'
91507
+ AND t1.relname = 'spina_lines'
91508
+ AND t3.nspname = ANY (current_schemas(false))
91509
+ ORDER BY c.conname
91510
+
91511
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91512
+ FROM pg_constraint c
91513
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91514
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91515
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91516
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91517
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91518
+ WHERE c.contype = 'f'
91519
+ AND t1.relname = 'spina_page_parts'
91520
+ AND t3.nspname = ANY (current_schemas(false))
91521
+ ORDER BY c.conname
91522
+ 
91523
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91524
+ FROM pg_constraint c
91525
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91526
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91527
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91528
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91529
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91530
+ WHERE c.contype = 'f'
91531
+ AND t1.relname = 'spina_pages'
91532
+ AND t3.nspname = ANY (current_schemas(false))
91533
+ ORDER BY c.conname
91534
+
91535
+  (1.4ms) 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
91536
+ FROM pg_constraint c
91537
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91538
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91539
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91540
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91541
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91542
+ WHERE c.contype = 'f'
91543
+ AND t1.relname = 'spina_photo_collections'
91544
+ AND t3.nspname = ANY (current_schemas(false))
91545
+ ORDER BY c.conname
91546
+ 
91547
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91548
+ FROM pg_constraint c
91549
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91550
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91551
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91552
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91553
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91554
+ WHERE c.contype = 'f'
91555
+ AND t1.relname = 'spina_photo_collections_photos'
91556
+ AND t3.nspname = ANY (current_schemas(false))
91557
+ ORDER BY c.conname
91558
+
91559
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91560
+ FROM pg_constraint c
91561
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91562
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91563
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91564
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91565
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91566
+ WHERE c.contype = 'f'
91567
+ AND t1.relname = 'spina_photos'
91568
+ AND t3.nspname = ANY (current_schemas(false))
91569
+ ORDER BY c.conname
91570
+ 
91571
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91572
+ FROM pg_constraint c
91573
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91574
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91575
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91576
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91577
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91578
+ WHERE c.contype = 'f'
91579
+ AND t1.relname = 'spina_structure_items'
91580
+ AND t3.nspname = ANY (current_schemas(false))
91581
+ ORDER BY c.conname
91582
+
91583
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91584
+ FROM pg_constraint c
91585
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91586
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91587
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91588
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91589
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91590
+ WHERE c.contype = 'f'
91591
+ AND t1.relname = 'spina_structure_parts'
91592
+ AND t3.nspname = ANY (current_schemas(false))
91593
+ ORDER BY c.conname
91594
+ 
91595
+  (1.4ms) 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
91596
+ FROM pg_constraint c
91597
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91598
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91599
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91600
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91601
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91602
+ WHERE c.contype = 'f'
91603
+ AND t1.relname = 'spina_structures'
91604
+ AND t3.nspname = ANY (current_schemas(false))
91605
+ ORDER BY c.conname
91606
+
91607
+  (1.4ms) 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
91608
+ FROM pg_constraint c
91609
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91610
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91611
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91612
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91613
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91614
+ WHERE c.contype = 'f'
91615
+ AND t1.relname = 'spina_texts'
91616
+ AND t3.nspname = ANY (current_schemas(false))
91617
+ ORDER BY c.conname
91618
+ 
91619
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
91620
+ FROM pg_constraint c
91621
+ JOIN pg_class t1 ON c.conrelid = t1.oid
91622
+ JOIN pg_class t2 ON c.confrelid = t2.oid
91623
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
91624
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
91625
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
91626
+ WHERE c.contype = 'f'
91627
+ AND t1.relname = 'spina_users'
91628
+ AND t3.nspname = ANY (current_schemas(false))
91629
+ ORDER BY c.conname
91630
+