| Table: Custom_Chart | |||
| Columns | |||
| Name | Type | Constraints | Description |
| create__changeset_KEY | int | NOT NULL | |
| update__changeset_KEY | int | NOT NULL | |
| custom_chart_KEY | int | NOT NULL | Assigned by COMMON_dp_Allocate_Unique_Identifiers. Database assigned primary key for this table. |
| owner_table_name | nvarchar (128) | NOT NULL | Name of the table that this custom chart is associated with. |
| description | nvarchar (250) | NOT NULL | Description of the custom chart. The same description can only be used once per owner_table_name. |
| chart | nvarchar (-1) | NOT NULL | The serialized custom chart, or the standard chart XML resource. |
| custom_chart_type_KEY | int | NOT NULL | Foriegn key to specify what type this custom chart is. |
| version | nvarchar (19) | NOT NULL | The version of the custom chart. |
| Primary key | |||
| Name | Columns | Description | |
| PK_Custom_Chart$custom_chart_KEY | custom_chart_KEY | CLUSTERED | |
| Unique constraints | |||
| Name | Columns | Description | |
| UK_Custom_Chart$owner_table_name$description$custom_chart_type_KEY | owner_table_name, description, custom_chart_type_KEY | The same description can only be used once per owner_table_name and custom_chart_type_KEY. | |
| Indexes | |||
| Name | Columns | Description | |
| IX_Custom_Chart$custom_chart_type_KEY | custom_chart_type_KEY | Index supports foreign key FK_Custom_Chart__Custom_Chart_Type__custom_chart_type_KEY | |