Advertisement
Guest User

Schema!

a guest
Oct 30th, 2017
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. List of relations
  2. Schema | Name | Type | Owner
  3. --------+----------------------+----------+----------------
  4. public | ar_internal_metadata | table | vttficbotqfjka
  5. public | overrides | table | vttficbotqfjka
  6. public | overrides_id_seq | sequence | vttficbotqfjka
  7. public | schema_migrations | table | vttficbotqfjka
  8. public | shops | table | vttficbotqfjka
  9. public | shops_id_seq | sequence | vttficbotqfjka
  10. public | uploads | table | vttficbotqfjka
  11. public | uploads_id_seq | sequence | vttficbotqfjka
  12. (8 rows)
  13.  
  14.  
  15. =====================================================================================================================
  16. =====================================================================================================================
  17.  
  18.  
  19. Table "public.overrides"
  20. Column | Type | Modifiers
  21. ------------+-----------------------------+--------------------------------------------------------
  22. id | integer | not null default nextval('overrides_id_seq'::regclass)
  23. title | character varying |
  24. product | character varying |
  25. vendor | character varying |
  26. tags | character varying |
  27. variation | character varying |
  28. upload_id | integer |
  29. created_at | timestamp without time zone | not null
  30. updated_at | timestamp without time zone | not null
  31. price | character varying |
  32. Indexes:
  33. "overrides_pkey" PRIMARY KEY, btree (id)
  34. "index_overrides_on_upload_id" btree (upload_id)
  35. Foreign-key constraints:
  36. "fk_rails_ae7fe83ba8" FOREIGN KEY (upload_id) REFERENCES uploads(id)
  37.  
  38.  
  39. =====================================================================================================================
  40. =====================================================================================================================
  41.  
  42.  
  43. Table "public.uploads"
  44. Column | Type | Modifiers
  45. ------------+-----------------------------+------------------------------------------------------
  46. id | integer | not null default nextval('uploads_id_seq'::regclass)
  47. title | character varying |
  48. product | character varying |
  49. vendor | character varying |
  50. webfile | character varying |
  51. collection | character varying |
  52. print | character varying |
  53. tags | character varying |
  54. variation | character varying |
  55. created_at | timestamp without time zone | not null
  56. updated_at | timestamp without time zone | not null
  57. status | character varying |
  58. sku | character varying |
  59. createdId | character varying |
  60. email | character varying |
  61. notes | character varying |
  62. action | character varying |
  63. Indexes:
  64. "uploads_pkey" PRIMARY KEY, btree (id)
  65. Referenced by:
  66. TABLE "overrides" CONSTRAINT "fk_rails_ae7fe83ba8" FOREIGN KEY (upload_id) REFERENCES uploads(id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement