- Tables
- Relationships
- Utility Tables
- Constraints
- Anomalies
- Columns
- Donate

Table sahebkhabar.news_media | Generated by SchemaSpy

Related columns Constraints Comments Legend |

Legend: |

Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | int unsigned | 10 |  | √ |  |  |  |
news_id | int unsigned | 10 |  |  |  |  |

news.id | FK2BF2B3785A42C676 C

media_id | int unsigned | 10 |  |  |  |  |

media.id | FK2BF2B378652E411E C

type | smallint unsigned | 5 |  |  |  |  |  | 1:Gallery(gozaresh tasviri), 2:Attachment
priority | int unsigned | 10 | √ |  | null |  |  |
active | bit | 0 | √ |  | 1 |  |  |
creator | int unsigned | 10 | √ |  | null |  |  |
created | timestamp | 19 |  |  | CURRENT_TIMESTAMP |  |  |
modified | timestamp | 19 | √ |  | null |  |  |
modifier | int unsigned | 10 | √ |  | null |  |  |
site_id | smallint | 5 | √ |  | null |  |  |
internal | bit | 0 |  |  |  |  |  |
title | varchar | 255 | √ |  | null |  |  |

Table contained 422 rows at Wed Jan 20 16:28 IRST 2016

Indexes:

Column(s) | Type | Sort | Constraint Name
--- | --- | --- | ---
id | Primary key | Asc | PRIMARY
news_id | Performance | Asc | FK2BF2B3785A42C676
media_id | Performance | Asc | FK2BF2B378652E411E
media_id | Performance | Asc | fk_news_media_media_id
news_id | Performance | Asc | fk_news_media_news_id

Close relationships within one two degrees of separation: