Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
tag_id | bpchar | 7 | √ | to_char(nextval('tag_id_seq'::regclass), '"TAG"-FM000'::text) |
|
|
|||||
name | varchar | 32 | null |
|
|
||||||
description | text | 2147483647 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
tags_pkey | Primary key | Asc | tag_id |
tags_name_key | Must be unique | Asc | name |
Check Constraints
Constraint Name | Constraint |
---|---|
tags_tag_id_check | ((tag_id ~ '^TAG-[0-9]{3}$'::text)) |