# Schema Reference

Generated from the ZB (Galaxy Repository) database.

## Tables

### aa_sql_objects

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| object_name | nvarchar(128) | NO | PK |
| object_type | nvarchar(10) | NO |  |

### affected_overview_symbols

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |
| package_id | int | NO |  |
| mx_primitive_id | smallint | NO |  |
| visual_element_id | int | NO |  |

### alarm_message_defaults

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| phrase_id | int | NO | PK |
| default_message | nvarchar(1024) | NO |  |

### alarm_message_timestamps

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| timestamp_of_populate | bigint | NO | Default: ((0)) |

### alarm_message_translations

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| phrase_id | int | NO | PK |
| locale_id | smallint | NO | PK; FK -> supported_locales.locale_id |
| translated_message | nvarchar(1024) | NO |  |

### alarm_messages

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| phrase_id | int | NO | PK |

### attribute_definition

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| attribute_definition_id | int | NO |  |
| primitive_definition_id | int | NO | PK; FK -> primitive_definition.primitive_definition_id |
| attribute_name | nvarchar(329) | NO |  |
| mx_attribute_id | smallint | NO | PK |
| has_config_set_handler | bit | NO |  |
| mx_data_type | smallint | NO |  |
| is_array | bit | NO |  |
| security_classification | smallint | NO |  |
| security_classification_needs_deployed | bit | NO |  |
| mx_attribute_category | int | NO |  |
| is_frequently_accessed | bit | NO |  |
| is_locked | bit | NO |  |
| is_locked_needs_deployed | bit | NO |  |
| mx_value | text(2147483647) | NO |  |
| mx_value_needs_deployed | bit | NO |  |

### attribute_reference

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| referring_mx_primitive_id | smallint | NO | PK; FK -> primitive_instance.package_id; Default: ((0)) |
| referring_mx_attribute_id | smallint | NO | PK; Default: ((0)) |
| element_index | smallint | NO | PK; Default: ((0)) |
| resolved_gobject_id | int | NO | Default: ((0)) |
| reference_string | nvarchar(700) | NO | Default: ('') |
| context_string | nvarchar(329) | NO | Default: ('') |
| object_signature | int | NO | Default: ((0)) |
| resolved_mx_primitive_id | smallint | NO | Default: ((0)) |
| resolved_mx_attribute_id | smallint | NO | Default: ((0)) |
| resolved_mx_property_id | smallint | NO | Default: ((0)) |
| attribute_signature | int | NO | Default: ((0)) |
| lock_type | int | NO | Default: ((0)) |
| is_valid | bit | NO | Default: ((0)) |
| attr_res_status | int | NO | Default: ((0)) |
| attribute_index | smallint | YES | Default: ((-1)) |

### attributes_translation_table

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | YES |  |
| attribute_name | nvarchar(329) | NO |  |
| new_primitive_id | int | YES |  |
| new_attribute_id | int | YES |  |
| old_primitive_id | int | YES |  |
| old_attribute_id | int | YES |  |

### autobind_device

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| dio_id | int | NO | PK; FK -> gobject.gobject_id |
| overridden_naming_rule_id | int | YES | PK |

### autobind_device_category

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| category_id | smallint | NO | PK; FK -> lookup_category.category_id |
| rule_id | int | YES | PK; Default: ((0)) |

### autobind_device_template

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| template_definition_id | int | NO | PK; FK -> template_definition.template_definition_id |
| rule_id | int | YES | PK |

### autobind_device_topic

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| dio_id | int | NO | PK; FK -> autobind_device.dio_id |
| sg_mx_primitive_id | smallint | NO | PK; Default: ((0)) |
| overridden_naming_rule_id | int | YES | PK |
| default_xlate_rule_id | int | NO | Default: ((0)) |

### autobind_naming_rule

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| rule_id | int | NO | PK |
| rule_name | nvarchar(329) | NO |  |

### autobind_naming_rule_spec

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| rule_id | int | NO | PK; FK -> autobind_naming_rule.rule_id |
| io_type | nchar(1) | NO | PK |
| rule_spec | nvarchar(512) | NO |  |

### autobind_translation_rule

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| xlate_rule_id | int | NO | PK |
| xlate_rule_name | nvarchar(329) | NO |  |
| xlate_rule_gsub_str | nvarchar(1000) | YES |  |
| xlate_rule_scope_global | bit | NO | Default: ((0)) |

### autobound_attribute

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| dio_id | int | NO | PK |
| sg_mx_primitive_id | smallint | NO | PK; Default: ((0)) |
| gobject_id | int | NO | PK |
| mx_primitive_id | smallint | NO | PK |
| mx_attribute_id | smallint | NO | PK |
| element_index | smallint | NO | PK; Default: ((0)) |
| attr_alias | nvarchar(329) | YES |  |
| xlate_rule_id | int | NO | PK; FK -> autobind_translation_rule.xlate_rule_id; Default: ((0)) |

### client_control_class_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| file_id | int | YES |  |
| class_name | nvarchar(1024) | NO |  |

### client_info

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| id | int | NO |  |
| client_unique_identifier | nvarchar(4000) | NO |  |
| client_name | nvarchar(64) | NO |  |
| deployed_files_count | smallint | NO |  |
| time_of_last_deployed_object_components | datetime | YES | Default: (getdate()) |
| timestamp_of_last_synchronized | bigint | NO | Default: ((0)) |

### control_index

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| entity_id | int | NO |  |
| gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| control_id | nvarchar(329) | YES |  |
| control_name | nvarchar(329) | NO | PK |
| control_description | nvarchar(2000) | YES |  |
| properties | nvarchar(-1) | YES |  |
| thumbnail | nvarchar(-1) | YES |  |

### ConversionQueue

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| id | int | YES |  |
| Name | nvarchar(329) | YES |  |
| IsCheckedOut | bit | NO |  |
| Status | bit | NO | Default: ((0)) |
| MetaData | nchar(256) | YES |  |
| OperationType | nchar(20) | NO |  |
| timestamp_of_last_change | bigint | YES |  |
| change_type | int | YES |  |

### CurrentSessionContainedName

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| Uniqeid | int | NO | PK |
| obj_id | int | YES |  |
| containedname | nvarchar(32) | YES |  |

### data_type

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| mx_data_type | tinyint | NO | PK |
| description | varchar(30) | NO |  |
| ow_data_type | varchar(10) | YES |  |

### deleted_gobject

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | Default: ((0)) |
| timestamp_of_delete | timestamp | NO | PK |

### deleted_ids

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| table_id | smallint | YES |  |
| deleted_id | int | NO |  |
| deletion_timestamp | timestamp | NO |  |
| deletion_time | datetime | YES |  |

### deleted_visual_element

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| visual_element_name | nvarchar(329) | YES |  |
| visual_element_type | nvarchar(32) | YES |  |
| timestamp_of_delete | timestamp | NO |  |

### deleted_visual_element_version

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| mx_primitive_id | smallint | NO |  |
| visual_element_name | nvarchar(329) | NO |  |
| visual_element_type | nvarchar(32) | NO |  |
| timestamp_of_delete | timestamp | NO | PK |
| visual_element_id | int | NO |  |

### deployed_file

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| deployed_file_id | int | NO | PK |
| file_id | int | NO | PK; FK -> file_table.file_id |
| node_name | nvarchar(256) | NO |  |
| need_to_delete | int | NO | Default: ((0)) |
| is_package_deployed | bit | NO |  |
| is_editor_deployed | bit | NO |  |
| is_runtime_deployed | bit | NO |  |
| is_browser_deployed | bit | NO |  |
| file_version | nvarchar(50) | NO | Default: ('') |
| file_modified_time | nvarchar(50) | NO | Default: ('') |

### deployed_intouch_viewapp

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| timestamp_of_deploy | bigint | NO | Default: ((1)) |
| gobject_id | int | NO |  |
| deploy_file_transfering | bit | YES | Default: ((0)) |

### deployed_intouch_viewapp_visual_element_dependency

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | YES |  |
| visual_element_name | nvarchar(2000) | YES |  |

### dynamic_attribute

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| mx_attribute_id | smallint | NO | PK |
| attribute_name | nvarchar(329) | NO |  |
| mx_data_type | smallint | NO |  |
| is_array | bit | NO |  |
| security_classification | smallint | NO |  |
| mx_attribute_category | int | NO |  |
| lock_type | int | NO |  |
| mx_value | text(2147483647) | NO |  |
| owned_by_gobject_id | int | NO | Default: ((0)) |
| original_lock_type | int | NO | Default: ((0)) |
| dynamic_attribute_type | smallint | NO | Default: ((0)) |
| bitvalues | smallint | NO | Default: ((0)) |
| dynamic_attribute_id | bigint | NO |  |

### external_content_media_types

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| entity_id | int | NO | PK |
| media_type | nvarchar(255) | NO |  |
| control_entity_id | int | NO |  |
| uri_property_name | nvarchar(1023) | YES |  |
| media_type_property_name | nvarchar(1023) | YES |  |
| is_default | bit | YES |  |

### feature

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| feature_id | int | NO | PK |
| feature_name | nvarchar(256) | NO |  |
| feature_type | nvarchar(256) | NO |  |

### feature_file_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| feature_id | int | NO | PK |
| file_id | int | NO | PK; FK -> file_table.file_id |

### file_browserinfo_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| primitive_definition_id | int | NO | PK; FK -> primitive_definition.primitive_definition_id |
| file_id | int | NO | PK |
| assembly_strong_name | nvarchar(512) | NO |  |
| assembly_type_name | nvarchar(256) | NO |  |

### file_pending_update

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| file_id | int | NO | PK; FK -> file_table.file_id |
| node_name | nvarchar(256) | NO |  |

### file_primitive_definition_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| primitive_definition_id | int | NO | PK; FK -> primitive_definition.primitive_definition_id |
| file_id | int | NO | PK |
| is_needed_for_package | bit | NO | Default: ((0)) |
| is_needed_for_runtime | bit | NO | Default: ((0)) |
| is_needed_for_editor | bit | NO | Default: ((0)) |
| is_needed_for_browser | bit | NO | Default: ((0)) |

### file_table

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| file_id | int | NO | PK |
| file_name | nvarchar(256) | NO |  |
| vendor_name | nvarchar(256) | NO |  |
| registration_type | int | NO |  |
| subfolder | nvarchar(256) | NO | Default: ('') |
| file_version | nvarchar(50) | NO | Default: ('') |
| file_modified_time | nvarchar(50) | NO | Default: ('') |

### folder

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| folder_id | int | NO | PK |
| folder_type | smallint | NO |  |
| folder_name | nvarchar(64) | NO |  |
| parent_folder_id | int | NO |  |
| depth | int | NO |  |
| has_objects | bit | NO |  |
| has_folders | bit | NO |  |
| timestamp_of_last_change | timestamp | NO |  |

### folder_gobject_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| folder_id | int | NO | PK |
| folder_type | smallint | NO |  |
| gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| timestamp_of_last_change | timestamp | NO |  |

### galaxy

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| time_of_last_deploy | datetime | YES | Default: (getdate()) |
| time_of_last_config_change | datetime | YES | Default: (getdate()) |
| is_galaxy_installed | bit | NO | Default: ((1)) |
| time_of_last_reference_binding | datetime | YES | Default: (getdate()) |
| timestamp_of_last_cascade | bigint | NO | Default: ((1)) |
| timestamp_of_last_visual_element_reference_bind | bigint | NO | Default: ((0)) |
| max_proxy_timestamp | bigint | NO | Default: (CONVERT([bigint],@@dbts)) |
| max_visual_element_timestamp | bigint | NO | Default: (CONVERT([bigint],@@dbts)) |
| is_migration_in_progress | bit | NO | Default: ((0)) |
| time_of_last_association_change | datetime | YES | Default: (getdate()) |
| subscription_id | uniqueidentifier | YES |  |
| batch_id | uniqueidentifier | YES |  |
| iteration_id | int | NO | Default: ((0)) |

### galaxy_data

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| data_type | nvarchar(256) | NO |  |
| data | image(2147483647) | YES |  |

### galaxy_settings

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| galaxyid | int | YES |  |
| default_qs_data | ntext(1073741823) | NO |  |
| current_qs_data | ntext(1073741823) | NO |  |

### gobject

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| template_definition_id | int | NO | PK; FK -> template_definition.template_definition_id |
| derived_from_gobject_id | int | NO | Default: ((0)) |
| contained_by_gobject_id | int | NO | Default: ((0)) |
| area_gobject_id | int | NO | Default: ((0)) |
| hosted_by_gobject_id | int | NO | Default: ((0)) |
| checked_out_by_user_guid | uniqueidentifier | YES |  |
| default_symbol_gobject_id | int | NO | Default: ((0)) |
| default_display_gobject_id | int | NO | Default: ((0)) |
| checked_in_package_id | int | NO | Default: ((0)) |
| checked_out_package_id | int | NO | Default: ((0)) |
| deployed_package_id | int | NO | Default: ((0)) |
| last_deployed_package_id | int | NO | Default: ((0)) |
| tag_name | nvarchar(329) | NO |  |
| contained_name | nvarchar(32) | NO | Default: ('') |
| identity_guid | uniqueidentifier | NO | Default: (newid()) |
| configuration_guid | uniqueidentifier | NO |  |
| configuration_version | int | NO |  |
| deployed_version | int | NO | Default: ((0)) |
| is_template | bit | NO | Default: ((0)) |
| is_hidden | bit | NO | Default: ((0)) |
| software_upgrade_needed | bit | NO | Default: ((0)) |
| hosting_tree_level | smallint | NO | Default: ((0)) |
| hierarchical_name | nvarchar(329) | NO | Default: ('') |
| namespace_id | smallint | NO | PK; Default: ((1)) |
| deployment_pending_status | bit | NO | Default: ((0)) |

### gobject_asset_order

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| relative_index | float(53,) | NO |  |

### gobject_change_log

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_change_log_id | int | NO |  |
| gobject_id | int | NO | PK |
| change_date | datetime | YES |  |
| operation_id | smallint | NO | PK; FK -> lookup_operation.operation_id |
| user_comment | nvarchar(1024) | NO | Default: ('') |
| configuration_version | int | NO | Default: ((0)) |
| user_profile_name | nvarchar(256) | NO |  |

### gobject_filter_info_timestamp

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | YES | PK; FK -> gobject.gobject_id |
| timestamp_of_last_change | timestamp | NO | PK |

### gobject_friendly_name

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| friendly_name | nvarchar(1024) | NO | Default: ('') |

### gobject_log_details

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |
| tag_name | nvarchar(329) | NO |  |

### gobject_protected

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |

### ImportTransaction

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ImportOperationId | nvarchar(329) | YES |  |
| Status | bit | NO | Default: ((1)) |

### instance

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| mx_platform_id | smallint | NO | Default: ((0)) |
| mx_engine_id | smallint | NO | Default: ((0)) |
| mx_object_id | smallint | NO | Default: ((0)) |

### intouchviewapptemplate_allsymbols

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |

### lookup_category

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| category_id | smallint | NO | PK |
| category_name | nvarchar(50) | NO |  |

### lookup_folder

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| folder_type | smallint | NO |  |
| folder_type_name | nvarchar(32) | YES |  |

### lookup_operation

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| operation_id | smallint | NO | PK |
| operation_code | nvarchar(50) | NO |  |
| operation_name | nvarchar(256) | NO |  |

### lookup_package_op_status

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| status_id | int | NO | PK |
| status_name | nvarchar(50) | NO |  |

### lookup_status

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| status_id | int | NO | PK |
| status_name | nvarchar(50) | NO |  |

### lookup_table_name

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| table_id | smallint | NO |  |
| table_name | nvarchar(250) | YES |  |

### namespace

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| namespace_id | smallint | NO | PK |
| namespace_name | nvarchar(32) | YES |  |

### object_device_linkage

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| dio_id | int | NO |  |
| sg_mx_primitive_id | smallint | NO |  |

### object_wizard_overview_symbols

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |
| visual_element_id | int | NO |  |
| change_type | int | NO |  |
| mx_primitive_id | int | YES |  |

### object_wizard_symbol_override

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> package.package_id |
| symbol_overrides | image(2147483647) | YES |  |

### object_wizard_symbol_override_mapping

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| has_local_overrides | bit | NO |  |
| thumbnail | image(2147483647) | YES |  |
| preview | image(2147483647) | YES |  |

### old_checked_in_packages

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| package_id | int | YES |  |
| gobject_id | int | YES |  |
| is_template | bit | YES |  |
| is_being_referenced | bit | YES | Default: ((0)) |

### operation

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| operation_id | int | NO | PK |
| user_profile_id | int | NO | PK; FK -> user_profile.user_profile_id |
| operation_name | nvarchar(300) | NO |  |
| start_time | datetime | NO | Default: (getdate()) |

### operation_message

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| message_id | int | NO | PK |
| operation_id | int | NO | PK; FK -> operation.operation_id |
| message_text | nvarchar(300) | NO |  |
| message_time | datetime | NO | Default: (getdate()) |

### operation_status

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| operation_id | int | NO | PK; FK -> operation.operation_id |
| status | int | NO | PK |

### operation_status_look_up

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| status | int | NO | PK |
| status_name | varchar(100) | NO |  |

### ow_group_def

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_group_id | int | NO | PK; FK -> ow_group_id.ow_group_id |
| prompt | nvarchar(260) | NO |  |
| GUID | varchar(36) | NO |  |
| description | nvarchar(260) | YES |  |
| visibility_rules | nvarchar(-1) | YES |  |

### ow_group_id

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ow_group_id | int | NO | PK |

### ow_group_override

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_group_id | int | NO | PK; FK -> ow_group_id.ow_group_id |
| property_bitmask | int | NO |  |

### ow_instance_setting

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| name | nvarchar(329) | NO | PK |
| ow_setting_type | int | NO | PK; FK -> ow_lu_setting.ow_setting_type |
| is_dmv | bit | NO | PK |
| override_value | nvarchar(-1) | YES |  |
| is_mx | bit | NO |  |
| is_implicit | bit | YES |  |

### ow_link_def

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_link_id | int | NO | PK; FK -> ow_link_id.ow_link_id |
| ow_link_type | int | NO |  |
| name | nvarchar(329) | NO |  |
| mx_primitive_id | smallint | YES |  |
| dynamic_attribute_id | bigint | YES |  |
| optional_id | int | YES |  |
| property_bitmask | int | NO |  |
| sort | int | NO |  |

### ow_link_id

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ow_link_id | int | NO | PK |
| ow_opt_or_choice_id | int | NO | PK; FK -> ow_opt_or_choice_id.ow_opt_or_choice_id |

### ow_lu_definition

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ow_setting_type | int | NO | PK; FK -> ow_lu_setting.ow_setting_type |
| primitive_definition_id | int | NO | PK |
| template_definition_id | int | NO |  |
| boolean_analog | bit | NO |  |
| ext | varchar(20) | NO |  |
| link_setting | int | YES |  |
| link_feature | int | YES |  |
| mx_attribute_id | smallint | YES |  |

### ow_lu_setting

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ow_setting_type | int | NO | PK |
| category | varchar(10) | NO |  |
| mx_data_type | tinyint | YES | PK; FK -> data_type.mx_data_type |
| setting_name | nvarchar(30) | NO |  |
| feature_id | int | YES |  |
| feature_sub_id | int | YES |  |
| parent_type | int | YES |  |
| no_ext | bit | YES |  |
| raw_value | nvarchar(100) | YES |  |

### ow_opt_or_choice_def

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_opt_or_choice_id | int | NO | PK; FK -> ow_opt_or_choice_id.ow_opt_or_choice_id |
| prompt | nvarchar(260) | NO |  |
| GUID | varchar(36) | NO |  |
| name | varchar(10) | NO |  |
| description | nvarchar(260) | YES |  |
| choice_sequence_number | int | YES |  |
| after_group_or_option | int | YES |  |
| initial_value | bit | NO | Default: ((0)) |
| visibility_rules | nvarchar(-1) | YES |  |
| sort | int | NO |  |

### ow_opt_or_choice_id

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ow_opt_or_choice_id | int | NO | PK |
| ow_group_id | int | NO | PK; FK -> ow_group_id.ow_group_id |

### ow_opt_or_choice_override

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_opt_or_choice_id | int | NO | PK; FK -> ow_opt_or_choice_id.ow_opt_or_choice_id |
| property_bitmask | int | YES |  |
| override_value | bit | YES |  |

### ow_setting_def

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_setting_id | int | NO | PK; FK -> ow_setting_id.ow_setting_id |
| ow_setting_type | int | NO | PK |
| reference | nvarchar(260) | YES |  |
| property_id | varchar(36) | YES |  |
| initial_value | nvarchar(-1) | YES |  |
| property_bitmask | int | YES |  |
| sort | int | NO |  |

### ow_setting_id

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ow_setting_id | int | NO | PK |
| ow_link_id | int | NO | PK; FK -> ow_link_id.ow_link_id |

### ow_setting_override

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| ow_setting_id | int | NO | PK; FK -> ow_setting_id.ow_setting_id |
| override_value | nvarchar(-1) | YES |  |
| property_bitmask | int | YES |  |

### ow_symbol_setting

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| sym_name | nvarchar(33) | NO | PK |
| ow_setting_type | int | NO | PK; FK -> ow_lu_setting.ow_setting_type |
| reference | nvarchar(260) | NO | PK |
| property_id | nvarchar(36) | YES |  |
| value | nvarchar(-1) | YES |  |
| property_bitmask | int | YES |  |

### owned_visual_element

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> visual_element_version.package_id |
| mx_primitive_id | smallint | NO | PK |
| visual_element_id | int | NO |  |
| thumbnail | image(2147483647) | YES |  |
| description | nvarchar(1024) | YES |  |
| visual_element_definition | image(2147483647) | NO |  |
| is_thumbnail_dirty | bit | NO | Default: ((0)) |
| visual_element_definition_grm | image(2147483647) | NO |  |
| content_type | nvarchar(1024) | YES |  |
| visual_element_crossRef | nvarchar(-1) | YES |  |
| preview | image(2147483647) | YES |  |

### package

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| status_id | int | NO | PK; FK -> lookup_status.status_id; Default: ((0)) |
| reference_status_id | int | NO | Default: ((0)) |
| instance_attributes | image(2147483647) | YES |  |
| operation_status | int | NO | Default: ((0)) |
| security_group | nvarchar(32) | NO | Default: ('Default') |
| derived_from_package_id | int | NO | Default: ((0)) |
| deployable_configuration_version | int | NO | Default: ((0)) |
| package_type | nvarchar(5) | NO | Default: ('I') |
| package_version | smallint | NO | Default: ((0)) |
| object_status | smallint | NO | Default: ((0)) |

### packages_to_be_deleted

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |

### platform

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| platform_id | int | NO |  |
| platform_gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| node_name | nvarchar(256) | NO | Default: ('') |
| last_deployed_node_name | nvarchar(256) | NO | Default: ('') |
| rmcNode_name | nvarchar(256) | NO | Default: ('') |
| last_deployed_rmcNode_name | nvarchar(256) | NO | Default: ('') |
| portNMX | int | NO | Default: ((0)) |
| last_deployed_portNMX | int | NO | Default: ((0)) |
| portRMC | int | NO | Default: ((0)) |
| last_deployed_portRMC | int | NO | Default: ((0)) |
| portRPC | int | NO | Default: ((0)) |
| last_deployed_portRPC | int | NO | Default: ((0)) |

### platform_license

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK; FK -> gobject.gobject_id |
| license_type | int | NO |  |

### primitive_attribute_validation_results

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| mx_attribute_id | smallint | NO | PK |
| validationCode | nvarchar(329) | NO | PK |
| validationState | smallint | NO |  |

### primitive_data_type

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| mx_data_type | tinyint | NO | PK |
| primitive_definition_id | int | NO | PK; FK -> primitive_definition.primitive_definition_id |

### primitive_definition

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| primitive_definition_id | int | NO | PK |
| template_definition_id | int | NO | PK; FK -> template_definition.template_definition_id |
| parent_mx_primitive_id | smallint | NO |  |
| mx_primitive_id | smallint | NO | Default: ((0)) |
| primitive_name | nvarchar(329) | NO | Default: ('') |
| execution_group | smallint | NO |  |
| is_virtual | bit | NO |  |
| primitive_guid | uniqueidentifier | NO |  |
| runtime_handler_clsid | uniqueidentifier | YES |  |
| package_handler_clsid | uniqueidentifier | YES |  |
| supports_dynamic_attributes | bit | NO |  |
| major_version | int | NO |  |

### primitive_instance

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> package.package_id |
| mx_primitive_id | smallint | NO | PK |
| primitive_definition_id | int | NO |  |
| primitive_name | nvarchar(329) | NO |  |
| parent_mx_primitive_id | smallint | NO |  |
| execution_group | int | NO |  |
| execution_order | int | NO | Default: ((-1)) |
| owned_by_gobject_id | int | NO | Default: ((0)) |
| timestamp_of_last_change | bigint | YES | Default: ((0)) |
| max_child_timestamp | bigint | YES | Default: ((0)) |
| extension_type | nvarchar(329) | YES |  |
| is_object_extension | bit | YES | Default: ((0)) |
| checked_in_primitive_version | int | NO | Default: ((1)) |
| checked_out_primitive_version | int | NO | Default: ((1)) |
| entity_change_type | int | NO | Default: ((1)) |
| operation_on_primitive_mask | int | NO | Default: ((0)) |
| created_by_parent | smallint | NO | Default: ((0)) |
| status_id | smallint | NO | Default: ((0)) |
| ref_status_id | smallint | NO | Default: ((0)) |
| primitive_attributes | image(2147483647) | YES |  |
| mx_value_errors | text(2147483647) | NO |  |
| mx_value_warnings | text(2147483647) | NO |  |
| mx_value_reference_warnings | text(2147483647) | NO |  |
| property_bitmask | smallint | NO | Default: ((0)) |

### primitive_instance_feature_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| feature_id | int | NO | PK |
| feature_name | nvarchar(256) | NO | Default: ('') |
| feature_type | nvarchar(256) | NO | Default: ('') |

### primitive_instance_file_table_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| file_id | int | NO | PK |
| is_needed_for_package | bit | NO | Default: ((0)) |
| is_needed_for_runtime | bit | NO | Default: ((0)) |
| is_needed_for_editor | bit | NO | Default: ((0)) |

### proxy_timestamp

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| timestamp_of_last_change | timestamp | NO |  |
| ImportGUID | nvarchar(265) | YES |  |

### redundancy

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| primary_gobject_id | int | NO | PK |
| backup_gobject_id | int | NO | PK |

### renamed_visual_element

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| mx_primitive_id | smallint | NO |  |
| visual_element_id | int | NO |  |
| old_visual_element_name | nvarchar(329) | NO |  |
| new_visual_element_name | nvarchar(329) | NO |  |
| visual_element_type | nvarchar(32) | NO |  |
| timestamp_of_rename | timestamp | NO | PK |

### schema_version

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| version_number | int | NO |  |
| version_string | nvarchar(64) | NO |  |
| cdi_version | nvarchar(64) | NO |  |
| old_version_number | int | NO | Default: ((0)) |

### supported_locales

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| locale_id | smallint | NO | PK |

### template

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| toolset_id | int | NO | PK; FK -> toolset.toolset_id |

### template_attribute

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| mx_attribute_id | smallint | NO | PK |
| security_classification | int | NO |  |
| mx_data_type | smallint | NO |  |
| mx_value | text(2147483647) | NO |  |
| lock_type | int | NO |  |
| original_lock_type | int | NO | Default: ((0)) |
| bit_values | smallint | NO | Default: ((0)) |
| raw_value | nvarchar(1024) | YES | Default: (NULL) |

### template_definition

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| template_definition_id | int | NO | PK |
| base_gobject_id | int | NO | Default: ((0)) |
| original_template_tagname | nvarchar(32) | NO | Default: ('') |
| required_features | nvarchar(256) | YES |  |
| supported_features | nvarchar(256) | YES |  |
| category_id | smallint | NO |  |
| category_clsid | uniqueidentifier | YES |  |
| runtime_clsid | uniqueidentifier | YES |  |
| base_template_location | nchar(260) | NO | Default: ('') |
| vendor_name | nvarchar(256) | YES |  |
| major_version | smallint | YES |  |
| codebase | nvarchar(322) | YES |  |
| codebase_minor_version | int | NO | Default: ((0)) |
| event_mask | int | NO | Default: ((0)) |

### template_idebehavior_link

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| template_definition_id | int | NO | PK; FK -> template_definition.template_definition_id |
| shown_in_template_toolbox | bit | NO | Default: ((1)) |
| shown_in_model_view | bit | NO | Default: ((1)) |
| shown_in_deployment_view | bit | NO | Default: ((1)) |
| shown_in_security_editor | bit | NO | Default: ((1)) |
| shown_tagname | bit | NO | Default: ((1)) |
| shown_containedname | bit | NO | Default: ((1)) |
| shown_in_archestra_browser | bit | NO | Default: ((1)) |
| shown_standard_archestra_editor_tab | bit | NO | Default: ((1)) |
| enable_objectviewermenu | bit | NO | Default: ((1)) |
| enable_createinstance | bit | NO | Default: ((1)) |
| enable_createtemplate | bit | NO | Default: ((1)) |
| idebehavior_flags | int | NO | Default: ((511)) |

### template_migration_policy

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| migrate_to_codebase | nvarchar(322) | NO |  |
| migrate_from_codebase | nvarchar(322) | NO |  |

### timestamp_record

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| ts | timestamp | NO |  |

### toolset

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| toolset_id | int | NO | PK |
| toolset_name | nvarchar(64) | NO |  |

### user_preferences

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| user_preferences_id | int | NO | PK |
| user_profile_id | int | NO | PK; FK -> user_profile.user_profile_id |
| preference_type | nvarchar(256) | NO |  |
| preferences | image(2147483647) | YES |  |

### user_profile

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| user_profile_id | int | NO | PK |
| user_profile_name | nvarchar(256) | NO |  |
| user_guid | uniqueidentifier | NO | Default: (newid()) |
| password_hash | int | YES |  |
| default_platform_tag_name | nvarchar(32) | YES |  |
| default_app_engine_tag_name | nvarchar(32) | YES |  |
| default_view_engine_tag_name | nvarchar(32) | YES |  |
| default_history_engine_tag_name | nvarchar(32) | YES |  |
| default_area_tag_name | nvarchar(32) | YES |  |
| default_security_group | nvarchar(32) | NO | Default: ('Default') |
| ide_preferences | ntext(1073741823) | YES |  |
| roles | ntext(1073741823) | YES |  |
| user_full_name | nvarchar(256) | YES |  |
| intouch_access_level | int | YES | Default: ((0)) |
| user_version_id | int | NO | Default: ((1)) |
| crypto_secure_hashed_pwd | ntext(1073741823) | YES |  |

### visual_element

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| visual_element_id | int | NO | PK |
| visual_element_type | nvarchar(32) | YES |  |
| inheritance_status | nchar(1) | YES |  |
| visual_element_category | nchar(1) | YES |  |

### visual_element_affected_by_undo_check_out

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| visual_element_name | nvarchar(329) | YES |  |
| visual_element_id | int | YES |  |
| visual_element_type | nvarchar(32) | YES |  |
| change_type | int | YES |  |
| check_out_undone_by_user_guid | uniqueidentifier | NO |  |
| timestamp_of_last_change | timestamp | NO |  |

### visual_element_archive

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |
| package_id | int | NO |  |
| mx_primitive_id | smallint | NO |  |
| visual_element_name | nvarchar(329) | NO |  |
| visual_element_type | nvarchar(32) | NO |  |
| visual_element_id | int | NO |  |
| persisted_for_gobject_id | int | NO |  |

### visual_element_id

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| visual_element_id | int | NO |  |

### visual_element_reference

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK; FK -> primitive_instance.package_id |
| mx_primitive_id | smallint | NO | PK |
| visual_element_reference_index | int | NO | PK |
| visual_element_bind_status | int | NO |  |
| is_relative_reference | char(1) | NO |  |
| checked_in_bound_visual_element_gobject_id | int | YES |  |
| checked_in_bound_visual_element_package_id | int | YES |  |
| checked_in_bound_visual_element_mx_primitive_id | smallint | YES |  |
| checked_out_bound_visual_element_gobject_id | int | YES |  |
| checked_out_bound_visual_element_package_id | int | YES |  |
| checked_out_bound_visual_element_mx_primitive_id | smallint | YES |  |
| unbound_timestamp | timestamp | NO |  |
| checked_in_unbound_visual_element_name | nvarchar(362) | YES |  |
| checked_in_unbound_visual_element_type | nvarchar(32) | YES |  |
| checked_in_unbound_tag_name | nvarchar(329) | YES |  |
| checked_in_unbound_primitive_name | nvarchar(329) | YES |  |
| checked_in_unbound_relative_object_name | nvarchar(329) | YES |  |
| checked_in_unbound_visual_element_id | int | YES |  |
| checked_out_unbound_visual_element_name | nvarchar(362) | YES |  |
| checked_out_unbound_visual_element_type | nvarchar(32) | YES |  |
| checked_out_unbound_tag_name | nvarchar(329) | YES |  |
| checked_out_unbound_primitive_name | nvarchar(329) | YES |  |
| checked_out_unbound_relative_object_name | nvarchar(329) | YES |  |
| checked_out_unbound_visual_element_id | int | YES |  |
| checked_out_visual_element_package_id | int | YES |  |
| checked_out_visual_element_gobject_id | int | YES |  |
| checked_out_to_user_guid | uniqueidentifier | YES |  |

### visual_element_timestamp

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO |  |
| package_id | int | NO |  |
| mx_primitive_id | smallint | NO |  |
| visual_element_id | int | NO |  |
| change_type | int | NO |  |
| timestamp_of_last_change | timestamp | NO |  |

### visual_element_version

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| gobject_id | int | NO | PK |
| package_id | int | NO | PK |
| mx_primitive_id | smallint | NO | PK |
| visual_element_id | int | NO | PK; FK -> visual_element.visual_element_id |
| inherited_from_gobject_id | int | NO | PK |
| inherited_from_package_id | int | NO | PK |
| inherited_from_mx_primitive_id | smallint | NO | PK |
| inherited_from_visual_element_id | int | YES |  |

### well_known_client_controls

| Column | Type | Nullable | Notes |
|--------|------|----------|-------|
| file_id | int | YES |  |
| class_name | nvarchar(1024) | NO |  |
| toolbox_info | nvarchar(-1) | YES |  |

## Views

### internal_all_alarms_view

| Column | Type | Nullable |
|--------|------|----------|
| name | nvarchar(663) | NO |
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |

### internal_all_view_app_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| category_id | smallint | NO |

### internal_automation_object_model_hierarchy_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| folderid | int | NO |
| is_area | int | NO |

### internal_automation_object_model_hierarchy_view2

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| folderid | int | NO |
| is_area | int | NO |

### internal_automation_object_visual_element_hierarchy_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| folderId | int | NO |
| visual_element_name | nvarchar(362) | YES |
| visual_element_definition_id | int | NO |
| is_area | int | NO |
| defining_visual_element_name | nvarchar(362) | NO |
| category_id | smallint | NO |
| is_template | bit | NO |
| relative_asset_order | float(53,NULL) | NO |
| friendly_name | nvarchar(1024) | NO |
| property_bitmask | smallint | YES |

### internal_automation_object_visual_element_hierarchy_view_includetemplates

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| folderId | int | NO |
| visual_element_name | nvarchar(362) | YES |
| visual_element_definition_id | int | NO |
| is_area | int | NO |
| defining_visual_element_name | nvarchar(362) | NO |
| category_id | smallint | NO |
| is_template | bit | NO |
| relative_asset_order | float(53,NULL) | NO |
| friendly_name | nvarchar(1024) | NO |
| property_bitmask | smallint | YES |

### internal_checked_in_unbound_relative_visual_element_reference_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| visual_element_reference_index | int | NO |
| checked_in_unbound_visual_element_type | nvarchar(32) | YES |
| checked_in_unbound_hierarchical_visual_element_name | nvarchar(989) | YES |

### internal_checked_out_unbound_relative_visual_element_reference_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| visual_element_reference_index | int | NO |
| checked_out_unbound_visual_element_type | nvarchar(32) | YES |
| checked_out_unbound_hierarchical_visual_element_name | nvarchar(989) | YES |

### internal_common_obj

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| category_id | smallint | NO |
| toolset_name | nvarchar(64) | NO |
| is_template | bit | NO |
| status | int | NO |
| derived_from | int | NO |
| checkedout_by | uniqueidentifier | YES |
| base_type | int | NO |
| myhost | int | NO |
| required_feature_guid | nvarchar(256) | YES |
| supported_feature_guid | nvarchar(256) | YES |
| is_checkout | int | NO |
| is_deployed | int | NO |
| haspendingupdate | int | NO |
| checkedinpg | int | NO |
| checkedoutpg | int | NO |
| readpgid | int | NO |
| packagestate | int | NO |
| objectid | int | NO |
| mycontainer | int | NO |
| myarea | int | NO |
| hierarchical_name | nvarchar(329) | NO |
| is_hidden | bit | NO |
| myengine | int | NO |
| myplatform | int | NO |

### internal_control_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| name | nvarchar(329) | NO |
| full_name | nvarchar(659) | NO |
| parent_id | int | NO |
| parent_name | nvarchar(329) | NO |
| control_id | nvarchar(329) | YES |
| description | nvarchar(2000) | YES |
| thumbnail | nvarchar(-1) | YES |
| properties | nvarchar(-1) | YES |
| relationship_id | int | NO |
| type | varchar(7) | NO |
| VisualElementType | varchar(7) | NO |
| path | int | NO |
| path_prefix | nvarchar(329) | NO |
| user_guid | int | YES |

### internal_get_asset_graphics_preview_user_view

| Column | Type | Nullable |
|--------|------|----------|
| parent_id | int | NO |
| name | nvarchar(362) | YES |
| visual_element_id | int | NO |
| user_guid | uniqueidentifier | NO |

### internal_get_attribute_definition_with_validation

| Column | Type | Nullable |
|--------|------|----------|
| attribute_definition_id | int | NO |
| primitive_definition_id | int | NO |
| attribute_name | nvarchar(329) | NO |
| mx_attribute_id | smallint | NO |
| has_config_set_handler | bit | NO |
| mx_data_type | smallint | NO |
| is_array | bit | NO |
| security_classification | smallint | NO |
| security_classification_needs_deployed | bit | NO |
| mx_attribute_category | int | NO |
| is_frequently_accessed | bit | NO |
| is_locked | bit | NO |
| is_locked_needs_deployed | bit | NO |
| mx_value | text(2147483647) | NO |
| mx_value_needs_deployed | bit | NO |
| primitive_name | nvarchar(329) | NO |
| requires_validation | int | NO |
| requires_raw_copy | int | NO |

### internal_get_device_scangroups_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | YES |
| name | nvarchar(329) | NO |
| parent_id | int | NO |

### internal_get_external_content_media_types_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| media_type | nvarchar(255) | NO |
| parent_name | nvarchar(329) | NO |
| control_id | nvarchar(329) | YES |
| uri_property_name | nvarchar(1023) | YES |
| media_type_property_name | nvarchar(1023) | YES |
| is_default | bit | YES |
| user_guid | int | YES |

### internal_get_GRMblob_preview_user_view

| Column | Type | Nullable |
|--------|------|----------|
| parent_id | int | NO |
| entity_id | int | NO |
| name | nvarchar(362) | YES |
| visualelementtype | nvarchar(32) | YES |
| user_guid | uniqueidentifier | NO |
| is_checkout | int | NO |
| visual_element_id | int | NO |
| definition_grm | varbinary(-1) | YES |
| definingvename | nvarchar(362) | YES |

### internal_get_gtb_Allelements_view

| Column | Type | Nullable |
|--------|------|----------|
| parent_id | int | YES |
| name | nvarchar(362) | YES |
| type | varchar(6) | NO |
| entity_id | int | YES |
| last_modified | datetime | YES |
| user_guid | uniqueidentifier | YES |
| is_checkout | int | YES |
| timestamp_of_last_change | timestamp | NO |
| thumbnail | varbinary(-1) | YES |
| definition | varbinary(-1) | YES |
| description | nvarchar(1024) | YES |
| status | int | YES |
| refStatus | int | YES |
| CheckedoutStatus | int | YES |
| CheckedoutbyUser | uniqueidentifier | YES |
| CheckoutByName | nvarchar(256) | YES |
| VisualElementType | nvarchar(32) | YES |
| hasObjects | bit | YES |
| hasFolders | bit | YES |
| is_hidden | int | NO |
| isprotected | int | NO |
| relationship_id | int | NO |
| path | int | YES |
| path_prefix | varchar(1) | NO |
| full_name | varchar(1) | NO |
| parent_name | varchar(1) | NO |
| control_id | varchar(1) | NO |
| content_type | nvarchar(1024) | YES |
| preview | varbinary(-1) | YES |

### internal_get_gtb_elements_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| last_modified | datetime | YES |
| timestamp_of_last_change | timestamp | NO |
| user_guid | uniqueidentifier | NO |
| visual_element_name | nvarchar(362) | YES |
| thumbnail | image(2147483647) | YES |
| visual_element_definition | image(2147483647) | NO |
| folder_id | int | YES |
| visual_element_type | nvarchar(32) | YES |
| description | nvarchar(1024) | YES |
| is_checkout | int | NO |
| status | int | YES |
| refStatus | int | YES |
| checked_out_package_status | int | YES |
| checkedout_by | uniqueidentifier | YES |
| checkoutbyname | nvarchar(256) | YES |
| is_hidden | bit | NO |
| isprotected | int | NO |
| visual_element_id | int | NO |
| content_type | nvarchar(1024) | YES |
| preview | image(2147483647) | YES |

### internal_get_gtb_folders_view

| Column | Type | Nullable |
|--------|------|----------|
| folder_id | int | NO |
| folder_name | nvarchar(64) | NO |
| parent_folder_id | int | NO |
| depth | int | NO |
| has_objects | bit | NO |
| has_folders | bit | YES |
| timestamp_of_last_change | timestamp | NO |

### internal_get_gtb_visual_element_references_deployment_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | nvarchar(694) | YES |
| gobject_id | int | NO |
| name | nvarchar(329) | NO |
| user_guid | uniqueidentifier | YES |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| referee_visual_element_id | int | YES |
| referee_visual_element_type | nvarchar(32) | YES |
| visual_element_bind_status | int | YES |
| visual_element_reference_index | int | NO |
| visual_element_id | int | YES |
| checked_in_unbound_visual_element_name | nvarchar(362) | YES |
| visual_element_type | nvarchar(32) | YES |
| primitive_name | nvarchar(329) | YES |
| tag_name | nvarchar(329) | YES |
| reference_string | nvarchar(694) | YES |
| calculated_visual_element_name | nvarchar(661) | YES |
| calculated_visual_element_type | nvarchar(32) | YES |
| package_type | nvarchar(5) | NO |
| is_relative_reference | char(1) | NO |

### internal_get_gtb_visual_element_references_preview_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | varchar(21) | YES |
| name | nvarchar(329) | NO |
| visualelementtype | nvarchar(6) | NO |
| referee_visual_element_id | int | YES |
| referee_visual_element_type | nvarchar(32) | YES |
| visual_element_reference_index | int | NO |
| visual_element_id | int | YES |
| reference_string | nvarchar(694) | YES |

### internal_get_gtb_visual_element_references_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | nvarchar(683) | YES |
| gobject_id | int | NO |
| name | nvarchar(329) | NO |
| user_guid | uniqueidentifier | YES |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| referee_visual_element_id | int | YES |
| referee_visual_element_type | nvarchar(32) | YES |
| visual_element_bind_status | int | YES |
| visual_element_reference_index | int | NO |
| visual_element_id | int | YES |
| checked_in_unbound_visual_element_name | nvarchar(362) | YES |
| visual_element_type | nvarchar(32) | YES |
| primitive_name | nvarchar(329) | YES |
| tag_name | nvarchar(329) | YES |
| reference_string | nvarchar(694) | YES |
| calculated_visual_element_name | nvarchar(661) | YES |
| calculated_visual_element_type | nvarchar(32) | YES |
| package_type | nvarchar(5) | NO |
| is_relative_reference | char(1) | NO |

### internal_get_object_wizard_symbol_override_mapping_preview_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| owning_object_id | int | NO |
| package_id | int | NO |
| owning_object_name | nvarchar(329) | NO |
| visual_element_name | nvarchar(329) | NO |
| defining_object_id | int | NO |
| user_guid | uniqueidentifier | NO |

### internal_get_object_wizard_symbol_override_mapping_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| owning_object_id | int | NO |
| owning_object_name | nvarchar(329) | NO |
| visual_element_name | nvarchar(329) | NO |
| defining_object_id | int | NO |

### internal_get_object_wizard_symbol_override_preview_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| defining_object_name | nvarchar(329) | NO |
| package_id | int | NO |
| symbol_overrides | varbinary(-1) | YES |
| user_guid | uniqueidentifier | NO |

### internal_get_object_wizard_symbol_override_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| defining_object_name | nvarchar(329) | NO |
| package_id | int | NO |
| symbol_overrides | varbinary(-1) | YES |

### internal_get_TemplateToolBox_Allelements_view

| Column | Type | Nullable |
|--------|------|----------|
| parent_id | int | YES |
| name | nvarchar(329) | NO |
| type | varchar(6) | NO |
| entity_id | int | YES |
| last_modified | datetime | YES |
| user_guid | uniqueidentifier | YES |
| is_checkout | int | YES |
| timestamp_of_last_change | bigint | YES |
| description | varchar(1) | YES |
| status | int | YES |
| refStatus | int | YES |
| CheckedoutStatus | int | YES |
| CheckedoutbyUser | uniqueidentifier | YES |
| CheckedoutbyUserName | nvarchar(256) | YES |
| hasObjects | bit | YES |
| hasFolders | bit | YES |
| is_hidden | int | NO |
| isprotected | int | NO |
| is_template | int | NO |
| namespace_id | int | NO |
| contained_name | nvarchar(32) | YES |
| hierarchical_name | nvarchar(329) | YES |
| derived_from_id | int | NO |
| base_type | int | NO |
| toolset_id | int | YES |
| checked_in_package_id | int | NO |
| template_definition_id | int | NO |
| container_id | int | NO |
| gObjectStatus | int | YES |
| category_id | int | NO |
| codebase | nvarchar(322) | YES |
| required_features | nvarchar(256) | YES |
| iswizard | int | NO |
| path | int | YES |
| path_prefix | varchar(1) | NO |

### internal_get_TemplateToolBox_folders_view

| Column | Type | Nullable |
|--------|------|----------|
| folder_id | int | NO |
| folder_name | nvarchar(64) | NO |
| parent_folder_id | int | NO |
| depth | int | NO |
| has_objects | bit | NO |
| has_folders | bit | NO |
| timestamp_of_last_change | timestamp | NO |

### internal_get_visual_element_primitives_deployment_view

| Column | Type | Nullable |
|--------|------|----------|
| parent_id | int | NO |
| entity_id | int | NO |
| package_id | int | NO |
| name | nvarchar(362) | YES |
| visualelementtype | nvarchar(32) | YES |
| owningobject | nvarchar(329) | NO |
| visual_element_id | int | NO |
| inherited_from_gobject_id | int | NO |
| inherited_from_visual_element_id | int | YES |
| definition | varbinary(-1) | YES |
| definition_grm | varbinary(-1) | YES |
| content_type | nvarchar(1024) | YES |
| definingvename | nvarchar(362) | YES |

### internal_get_visual_element_primitives_view

| Column | Type | Nullable |
|--------|------|----------|
| parent_id | int | NO |
| entity_id | int | NO |
| NAME | nvarchar(362) | YES |
| visualelementtype | nvarchar(32) | YES |
| type | varchar(4) | NO |
| thumbnail | image(2147483647) | YES |
| user_guid | uniqueidentifier | NO |
| is_checkout | int | NO |
| visual_element_id | int | NO |
| inherited_from_visual_element_id | int | YES |
| path | int | YES |
| path_prefix | nvarchar(329) | YES |
| definition | varbinary(-1) | YES |
| definition_grm | varbinary(-1) | YES |
| content_type | nvarchar(1024) | YES |
| preview | image(2147483647) | YES |
| owningobject | nvarchar(329) | NO |
| definingvename | nvarchar(362) | YES |

### internal_gtb_symbols_hierarchy_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| name | nvarchar(329) | NO |
| folder_id | int | NO |

### internal_linked_visual_element_definition_per_user_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| visual_element_id | int | NO |
| inherited_from_visual_element_id | int | YES |
| linked_visual_element_id | int | NO |
| name | nvarchar(362) | YES |
| linked_visual_element_package_id | int | NO |
| linked_visual_element_definition | image(2147483647) | NO |
| linked_visual_element_definition_grm | image(2147483647) | NO |
| linked_gobject_id | int | NO |
| user_guid | uniqueidentifier | NO |
| islinked | int | NO |
| thumbnail | image(2147483647) | YES |
| content_type | nvarchar(1024) | YES |
| preview | image(2147483647) | YES |
| property_bitmask | smallint | NO |

### internal_list_automation_objects_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| name | nvarchar(329) | NO |
| type | varchar(6) | NO |
| description | varchar(1) | NO |
| user_guid | uniqueidentifier | NO |
| is_checkout | int | NO |
| last_modified | datetime | YES |
| contained_name | nvarchar(32) | NO |
| hierarchical_name | nvarchar(329) | NO |
| area_gobject_id | int | NO |
| is_template | bit | NO |
| is_hidden | bit | NO |
| status | int | NO |
| refStatus | int | NO |
| hosted_by_gobject_id | int | NO |
| derived_from_id | int | NO |
| base_type | int | NO |
| checkoutbyname | nvarchar(256) | NO |
| checkedout_by | uniqueidentifier | YES |
| toolset_id | int | YES |
| checked_in_package_id | int | NO |
| template_definition_id | int | NO |
| container_id | int | NO |
| area_id | int | NO |
| checked_out_package_status | int | NO |
| gObjectStatus | int | YES |
| category_id | smallint | NO |
| timestamp_of_last_change | bigint | YES |
| namespace_id | smallint | NO |
| folder_id | int | YES |
| codebase | nvarchar(322) | YES |
| required_features | nvarchar(256) | YES |
| isprotected | int | NO |
| iswizard | int | NO |
| isparentwizard | int | NO |

### internal_list_model_objects_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| name | nvarchar(329) | NO |
| type | varchar(6) | NO |
| description | varchar(1) | NO |
| user_guid | int | YES |
| contained_name | nvarchar(32) | NO |
| hierarchical_name | nvarchar(329) | NO |
| area_gobject_id | int | NO |
| is_template | bit | NO |
| is_hidden | bit | NO |
| hosted_by_gobject_id | int | NO |
| derived_from_id | int | NO |
| base_type | int | NO |
| checkoutbyname | nvarchar(256) | NO |
| checkedout_by | uniqueidentifier | YES |
| checked_in_package_id | int | NO |
| template_definition_id | int | NO |
| container_id | int | NO |
| area_id | int | NO |
| gObjectStatus | int | YES |
| category_id | smallint | NO |
| namespace_id | smallint | NO |
| codebase | nvarchar(322) | YES |
| required_features | nvarchar(256) | YES |
| iswizard | int | NO |
| isparentwizard | int | NO |
| path | int | NO |
| path_prefix | nvarchar(250) | YES |
| relative_asset_order | float(53,NULL) | NO |
| friendly_name | nvarchar(1024) | NO |

### internal_list_objects_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| contained_name | nvarchar(32) | NO |
| hierarchical_name | nvarchar(329) | NO |
| is_template | bit | NO |
| status | int | NO |
| refStatus | int | NO |
| hosted_by_gobject_id | int | NO |
| derived_from_id | int | NO |
| base_type | int | NO |
| checkoutbyname | nvarchar(256) | YES |
| checkedout_by | uniqueidentifier | YES |
| toolset_id | int | YES |
| is_checkout | int | NO |
| deployed_package_id | int | NO |
| checked_in_package_id | int | NO |
| template_definition_id | int | NO |
| hasderived_obj | int | NO |
| hasassigned_obj | int | NO |
| container_id | int | NO |
| area_id | int | NO |
| hasContained_obj | int | NO |
| hasBelongTo_obj | int | NO |
| is_hidden | bit | NO |
| software_upgrade_needed | bit | NO |
| checked_out_package_status | int | YES |
| category_id | smallint | NO |
| IsCheckedOut | int | NO |
| IsSoftwareUpgradeRequired | int | NO |
| HasPendingUpdate | int | NO |
| IsDeployed | int | NO |
| IsPrimaryEngine | int | NO |
| IsBackupEngine | int | NO |
| is_failover_enabled | int | NO |
| IsPartiallyDeployed | int | NO |
| IsPartiallyUndeployed | int | NO |
| gObjectStatus | int | YES |
| timestamp_of_last_change | bigint | YES |
| namespace_id | smallint | NO |
| folder_id | int | YES |

### internal_list_unassigned_objects_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| area_gobject_id | int | NO |
| is_template | bit | NO |
| is_hidden | bit | NO |
| container_id | int | NO |
| category_id | smallint | NO |
| namespace_id | smallint | NO |

### internal_localized_alarm_messages

| Column | Type | Nullable |
|--------|------|----------|
| Name | nvarchar(663) | NO |
| default_message | nvarchar(1024) | NO |
| phrase_id | int | NO |
| translated_message | nvarchar(1024) | NO |
| locale_id | smallint | NO |
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |

### internal_model_hierarchy_asset_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| folderId | int | NO |
| is_area | int | NO |
| relative_asset_order | float(53,NULL) | NO |
| friendly_name | nvarchar(1024) | NO |

### internal_package_status_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| status_id | int | NO |

### internal_proxy_obj

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| contained_name | nvarchar(32) | NO |
| hierarchical_name | nvarchar(329) | NO |
| is_template | bit | NO |
| status | int | NO |
| refStatus | int | NO |
| hosted_by_gobject_id | int | NO |
| derived_from | int | NO |
| base_type | int | NO |
| checkedout_by | uniqueidentifier | YES |
| toolset_id | int | YES |
| is_checkout | int | NO |
| deployed_package_id | int | NO |
| checkedinpg | int | NO |
| template_definition_id | int | NO |
| mycontainer | int | NO |
| myarea | int | NO |
| is_hidden | bit | NO |
| software_upgrade_needed | bit | NO |
| checked_out_package_status | int | YES |
| category_id | smallint | NO |
| IsCheckedOut | int | NO |
| IsSoftwareUpgradeRequired | int | NO |
| HasPendingUpdate | int | NO |
| IsDeployed | int | NO |
| IsPrimaryEngine | int | NO |
| IsBackupEngine | int | NO |
| is_failover_enabled | int | NO |
| IsPartiallyDeployed | int | NO |
| IsPartiallyUndeployed | int | NO |
| deploy_file_transfering | bit | NO |
| timestamp_of_last_change | bigint | YES |
| namespace_id | smallint | NO |
| folder_id | int | YES |

### internal_reference_primitive_attribute

| Column | Type | Nullable |
|--------|------|----------|
| referringGobjectID | int | NO |
| referring_TagName | nvarchar(329) | NO |
| referringPrimitiveName | nvarchar(329) | NO |
| referringAttributeName | nvarchar(329) | NO |
| referringAttribute_full_name | nvarchar(989) | NO |
| reference_string | nvarchar(700) | NO |
| context_string | nvarchar(329) | NO |
| referredToGobjectID | int | YES |
| Referred_TagName | nvarchar(329) | YES |
| referredToPrimitiveName | nvarchar(329) | NO |
| referredToAttributeName | nvarchar(329) | NO |
| referredAttribute_full_name | nvarchar(989) | YES |

### internal_required_support_features

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| tag_name | nvarchar(329) | NO |
| required_features | nvarchar(256) | YES |
| supported_features | nvarchar(256) | YES |

### internal_runtime_attributes

| Column | Type | Nullable |
|--------|------|----------|
| full_attribute_name | nvarchar(989) | NO |
| datatype | smallint | NO |
| area | nvarchar(329) | NO |
| template | nvarchar(329) | NO |

### internal_visible_packages_per_user_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| user_guid | uniqueidentifier | NO |

### internal_visual_element_description_all_packages_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| visual_element_id | int | NO |
| visual_element_type | nvarchar(32) | YES |
| visual_element_category | nchar(1) | YES |
| visual_element_name | nvarchar(659) | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| inheritance_status | nchar(1) | YES |
| description | nvarchar(1024) | YES |
| thumbnail | image(2147483647) | YES |
| tag_name | nvarchar(329) | NO |
| primitive_name | nvarchar(329) | NO |
| gobject_tag_name | nvarchar(329) | NO |
| package_type | nvarchar(5) | NO |
| hierarchical_visual_element_name | nvarchar(659) | NO |
| gobject_hierarchical_name | nvarchar(329) | NO |
| is_library_visual_element | int | NO |
| inherited_from_visual_element_id | int | YES |
| is_thumbnail_dirty | bit | NO |
| property_bitmask | smallint | NO |

### internal_visual_element_description_per_user_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| visual_element_id | int | NO |
| visual_element_type | nvarchar(32) | YES |
| visual_element_category | nchar(1) | YES |
| visual_element_name | nvarchar(362) | YES |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| inheritance_status | nchar(1) | YES |
| description | nvarchar(1024) | YES |
| primitive_name | nvarchar(329) | NO |
| tag_name | nvarchar(329) | NO |
| package_type | nvarchar(5) | NO |
| hierarchical_visual_element_name | nvarchar(362) | YES |
| gobject_hierarchical_name | nvarchar(329) | NO |
| is_library_visual_element | int | NO |
| thumbnail | image(2147483647) | YES |
| visual_element_definition | image(2147483647) | NO |
| visual_element_definition_grm | image(2147483647) | NO |
| user_guid | uniqueidentifier | NO |
| inherited_from_gobject_id | int | NO |
| is_hidden | bit | NO |
| inherited_from_visual_element_id | int | YES |
| folder_id | int | YES |
| is_thumbnail_dirty | bit | NO |
| islinked | int | NO |
| content_type | nvarchar(1024) | YES |
| preview | image(2147483647) | YES |
| property_bitmask | smallint | NO |

### internal_visual_element_description_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| visual_element_id | int | NO |
| visual_element_type | nvarchar(32) | YES |
| visual_element_category | nchar(1) | YES |
| visual_element_name | nvarchar(362) | YES |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| inheritance_status | nchar(1) | YES |
| description | nvarchar(1024) | YES |
| primitive_name | nvarchar(329) | NO |
| tag_name | nvarchar(329) | NO |
| package_type | nvarchar(5) | NO |
| hierarchical_visual_element_name | nvarchar(362) | YES |
| gobject_hierarchical_name | nvarchar(329) | NO |
| is_library_visual_element | int | NO |
| inherited_from_visual_element_id | int | YES |
| checked_in_package_id | int | NO |
| checked_out_package_id | int | NO |
| checked_out_by_user_guid | uniqueidentifier | YES |
| inherited_from_gobject_id | int | NO |
| is_thumbnail_dirty | bit | NO |
| property_bitmask | smallint | NO |

### internal_visual_element_primitives_preview_user_view

| Column | Type | Nullable |
|--------|------|----------|
| entity_id | int | NO |
| name | nvarchar(362) | YES |
| visualelementtype | nvarchar(6) | NO |
| user_guid | uniqueidentifier | YES |
| visual_element_id | int | NO |
| content_type | nvarchar(1024) | YES |
| owningobject | nvarchar(329) | YES |
| definingvename | nvarchar(362) | YES |

### internal_visual_element_reference_per_user_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| visual_element_bind_status | int | NO |
| visual_element_reference_index | int | NO |
| visual_element_id | int | YES |
| checked_in_unbound_visual_element_name | nvarchar(362) | YES |
| visual_element_type | nvarchar(32) | YES |
| primitive_name | nvarchar(329) | YES |
| tag_name | nvarchar(329) | YES |
| reference_string | nvarchar(694) | YES |
| calculated_visual_element_name | nvarchar(661) | YES |
| calculated_visual_element_type | nvarchar(32) | YES |
| user_guid | uniqueidentifier | NO |
| package_type | nvarchar(5) | NO |
| is_relative_reference | char(1) | NO |

### internal_visual_element_reference_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| visual_element_bind_status | int | NO |
| visual_element_reference_index | int | NO |
| visual_element_id | int | YES |
| checked_in_unbound_visual_element_name | nvarchar(362) | YES |
| visual_element_type | nvarchar(32) | YES |
| primitive_name | nvarchar(329) | YES |
| tag_name | nvarchar(329) | YES |
| reference_string | nvarchar(694) | YES |
| calculated_visual_element_name | nvarchar(661) | YES |
| calculated_visual_element_type | nvarchar(32) | YES |
| package_type | nvarchar(5) | NO |
| is_relative_reference | char(1) | NO |

### internal_visual_element_reference_warning_status_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| has_warning | int | NO |

### internal_visual_element_timestamp_per_user_view

| Column | Type | Nullable |
|--------|------|----------|
| gobject_id | int | NO |
| package_id | int | NO |
| mx_primitive_id | smallint | NO |
| visual_element_id | int | NO |
| change_type | int | NO |
| timestamp_of_last_change | timestamp | NO |
| user_guid | uniqueidentifier | NO |
| property_bitmask | smallint | NO |

### public_gobject_definition

| Column | Type | Nullable |
|--------|------|----------|
| tag_name | nvarchar(329) | NO |
| contained_name | nvarchar(32) | NO |
| primitive_name | nvarchar(329) | NO |
| attribute_name | nvarchar(329) | NO |
| mx_attribute_id | smallint | NO |
| has_config_set_handler | bit | NO |
| mx_data_type | smallint | NO |
| is_array | bit | NO |
| security_classification | smallint | NO |
| mx_attribute_category | int | NO |
| is_frequently_accessed | bit | NO |
| is_locked | bit | NO |
| mx_value | text(2147483647) | NO |
| gobject_id | int | NO |
| derived_from_gobject_id | int | NO |
| contained_by_gobject_id | int | NO |
| area_gobject_id | int | NO |
| hosted_by_gobject_id | int | NO |
| default_symbol_gobject_id | int | NO |
| default_display_gobject_id | int | NO |
| checked_in_package_id | int | NO |
| checked_out_package_id | int | NO |
| deployed_package_id | int | NO |
| configuration_version | int | NO |
| deployed_version | int | NO |
| hosting_tree_level | smallint | NO |
| mx_primitive_id | smallint | NO |
| parent_mx_primitive_id | smallint | NO |
| execution_group | smallint | NO |
| is_virtual | bit | NO |
| primitive_guid | uniqueidentifier | NO |
| runtime_handler_clsid | uniqueidentifier | YES |
| package_handler_clsid | uniqueidentifier | YES |
| major_version | int | NO |
| supports_dynamic_attributes | bit | NO |
| original_template_tagname | nvarchar(32) | NO |
| required_features | nvarchar(256) | YES |
| supported_features | nvarchar(256) | YES |
| category_id | smallint | NO |
| category_clsid | uniqueidentifier | YES |
| runtime_clsid | uniqueidentifier | YES |

