Untitled

mail@pastecode.io avatar
unknown
sql
a year ago
1.3 kB
2
Indexable
Never
satellites=> \d+ satellite_hoteldescription
                                               Table "public.satellite_hoteldescription"
   Column   |  Type   |                                Modifiers                                | Storage  | Stats target | Description
------------+---------+-------------------------------------------------------------------------+----------+--------------+-------------
 id         | integer | not null default nextval('satellite_hoteldescription_id_seq'::regclass) | plain    |              |
 title      | text    | not null                                                                | extended |              |
 paragraphs | text[]  | not null                                                                | extended |              |
 hotel_id   | text    | not null                                                                | extended |              |
Indexes:
    "satellite_hoteldescription_pkey" PRIMARY KEY, btree (id)
    "satellite_hoteldescription_hotel_id_0cbf17b1" btree (hotel_id)
    "satellite_hoteldescription_hotel_id_0cbf17b1_like" btree (hotel_id text_pattern_ops)
Foreign-key constraints:
    "satellite_hoteldescr_hotel_id_0cbf17b1_fk_satellite" FOREIGN KEY (hotel_id) REFERENCES satellite_hotel(otahotel_id) DEFERRABLE INITIALLY DEFERRED