Difference between revisions of "Public.element (table)"
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | public.element |- |} {| border="1" cellpadding="5" cellspacing="0" style="bo...) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- valign="top" |
| '''Table | | '''Table | ||
| public.element | | public.element | ||
− | |||
|} | |} | ||
− | + | === Columns === | |
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 15: | Line 14: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''Description |
− | + | ||
− | + | |- valign="top" | |
− | |- | ||
| mapid | | mapid | ||
+ | | integer | ||
+ | | not null | ||
| | | | ||
− | |||
| | | | ||
− | + | |- valign="top" | |
− | |||
− | |- | ||
| elementid | | elementid | ||
+ | | integer | ||
+ | | not null | ||
| | | | ||
− | |||
| | | | ||
− | + | |- valign="top" | |
− | |||
− | |- | ||
| elementtype | | elementtype | ||
− | | | + | | char(1) |
| not null | | not null | ||
| | | | ||
− | |||
| | | | ||
− | |- | + | |- valign="top" |
| elementlabel | | elementlabel | ||
− | | | + | | varchar(256) |
| not null | | not null | ||
| | | | ||
| | | | ||
− | + | |- valign="top" | |
− | |- | ||
| elementicon | | elementicon | ||
− | | | + | | varchar(256) |
| null | | null | ||
| | | | ||
| | | | ||
− | + | |- valign="top" | |
− | |- | ||
| elementx | | elementx | ||
− | | | + | | integer |
| null | | null | ||
| | | | ||
| | | | ||
− | + | |- valign="top" | |
− | |- | ||
| elementy | | elementy | ||
− | | | + | | integer |
| null | | null | ||
| | | | ||
| | | | ||
− | |||
|} | |} | ||
+ | === Primary Key === | ||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Primary Key | ||
+ | | '''Columns | ||
+ | |- valign="top" | ||
+ | | pk_element | ||
+ | | mapid, elementid, elementtype | ||
+ | |} | ||
+ | |||
+ | === Indexes === | ||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Index | ||
+ | | '''Type | ||
+ | | '''Columns | ||
+ | |- valign="top" | ||
+ | | element_mapid_elementid | ||
+ | | | ||
+ | | mapid, elementid | ||
+ | |} | ||
+ | === Foreign Keys === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 76: | Line 89: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[public.map_(table)|public.map]] | | [[public.map_(table)|public.map]] | ||
| mapid | | mapid | ||
| mapid | | mapid | ||
|} | |} |
Latest revision as of 23:38, 24 June 2010
wikibot[edit]
Table | public.element |
Columns[edit]
Column | Data Type | Nullable | Default | Description |
mapid | integer | not null | ||
elementid | integer | not null | ||
elementtype | char(1) | not null | ||
elementlabel | varchar(256) | not null | ||
elementicon | varchar(256) | null | ||
elementx | integer | null | ||
elementy | integer | null |
Primary Key[edit]
Primary Key | Columns |
pk_element | mapid, elementid, elementtype |
Indexes[edit]
Index | Type | Columns |
element_mapid_elementid | mapid, elementid |
Foreign Keys[edit]
Relation | Column | Referenced Column |
public.map | mapid | mapid |