<?php
/**
 * $Id$
 *
 * Stores the table mappings.
 *
 * KnowledgeTree Community Edition
 * Document Management Made Simple
 * Copyright (C) 2008, 2009 KnowledgeTree Inc.
 * 
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 3 as published by the
 * Free Software Foundation.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, 
 * California 94120-7775, or email info@knowledgetree.com.
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * KnowledgeTree" logo and retain the original copyright notice. If the display of the 
 * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
 * must display the words "Powered by KnowledgeTree" and retain the original 
 * copyright notice.
 * Contributor( s): ______________________________________
 *
 */ 
 
// Table mappings
// session information
$default->sessions_table = 'active_sessions';
//data types table
$default->data_types_table ='data_types';
// document type fields
$default->document_fields_table = 'document_fields';
$default->fieldsets_table = 'fieldsets';
// links document
$default->document_fields_link_table = 'document_fields_link';
// document subscriptions
$default->document_subscriptions_table = 'document_subscriptions';
// document transaction types
$default->transaction_types_table = 'document_transaction_types_lookup';
// document transactions
$default->document_transactions_table = 'document_transactions';
// links document types to document type fields
$default->document_type_fields_table = 'document_type_fields_link';
// links document types to document type fields
$default->document_type_fieldsets_table = 'document_type_fieldsets_link';
// document type information
$default->document_types_table = 'document_types_lookup';
// stores documents
$default->documents_table = 'documents';
//link folders to doc types
$default->folder_doctypes_table = 'folder_doctypes_link';
// stores folder subscriptions
$default->folder_subscriptions_table = 'folder_subscriptions';
// stores folders
$default->folders_table = 'folders';
// stores group information
$default->groups_table = 'groups_lookup';
// links groups to units
$default->groups_units_table = 'groups_units_link';
// links -- DEPRECATED
//$default->quicklinks_table = 'links';
// Table with metadata
$default->metadata_table = 'metadata_lookup';
// Table with mime info
$default->mimetypes_table = 'mime_types';
// dashboard news table
$default->news_table = 'news';
// organisation information
$default->organisations_table = 'organisations_lookup';
// stores role information (name and access)
$default->roles_table = 'roles';
// sitemap access classes
$default->site_access_table = 'site_access_lookup';
// sitemap sections
$default->site_sections_table = 'site_sections_lookup';
// sitemap definition
$default->sitemap_table = 'sitemap';
// stores default system settings
$default->system_settings_table = 'system_settings';
// Table with discussion threads 
$default->discussion_threads_table = 'discussion_threads';
// Table with discussion comments
$default->discussion_comments_table = 'discussion_comments';
// Table with unit information
$default->units_table = 'units_lookup';
// Table with unit organisation link tables
$default->units_organisations_table = 'units_organisations_link';
// Table with user info
$default->users_table = 'users';
// links groups to users
$default->users_groups_table = 'users_groups_link';
// Table with web documents info for web publishing
$default->web_documents_table = 'web_documents';
// Table with web documents info for web publishing
$default->web_documents_status_table = 'web_documents_status_lookup';
// stores websites for web publishing
$default->web_sites_table = 'web_sites';
//stores help text
$default->help_table = 'help';
$default->document_text_table = 'document_text';
$default->document_link_table = 'document_link';
// archive settings
$default->document_archiving_table = 'document_archiving_link';
$default->archiving_type_lookup_table = 'archiving_type_lookup';
$default->archiving_settings_table = 'archiving_settings';
$default->time_period_table = 'time_period';
$default->time_unit_lookup_table = 'time_unit_lookup';
$default->archive_restoration_table = 'archive_restoration_request';
$default->status_table = 'status_lookup';
$default->search_permissions_table = 'search_document_user_link';
$default->document_link_types_table = 'document_link_types';
$default->upgrades_table = 'upgrades';
$default->help_replacement_table = 'help_replacement';
$default->permissions_table = 'permissions';
$default->permission_objects_table = 'permission_objects';
$default->permission_descriptors_table = 'permission_descriptors';
$default->permission_assignments_table = 'permission_assignments';
$default->permission_descriptor_groups_table = 'permission_descriptor_groups';
$default->permission_descriptor_roles_table = 'permission_descriptor_roles';
$default->permission_descriptor_users_table = 'permission_descriptor_users';
$default->permission_lookups_table = 'permission_lookups';
$default->permission_lookup_assignments_table = 'permission_lookup_assignments';
$default->groups_groups_table = 'groups_groups_link';
$default->metadata_treenode_table = 'metadata_lookup_tree';
$default->metadata_condition_table = 'metadata_lookup_condition';
$default->md_condition_table = 'metadata_lookup_condition';
$default->md_condition_chain_table = 'metadata_lookup_condition_chain';
$default->field_orders_table = 'field_orders';
$default->workflows_table = 'workflows';
$default->workflow_states_table = 'workflow_states';
$default->workflow_transitions_table = 'workflow_transitions';
$default->workflow_state_transitions_table = 'workflow_state_transitions';
$default->workflow_documents_table = 'workflow_documents';
$default->workflow_actions_table = 'workflow_actions';
$default->workflow_state_actions_table = 'workflow_state_actions';
$default->field_value_instances_table = 'field_value_instances';
$default->field_behaviours_table = 'field_behaviours';
$default->field_behaviour_options_table = 'field_behaviour_options';
$default->document_transaction_text_table = 'document_transaction_text';
$default->document_searchable_text_table = 'document_searchable_text';
$default->saved_searches_table = 'saved_searches';
$default->permission_dynamic_conditions_table = 'permission_dynamic_conditions';
$default->permission_dynamic_assignments_table = 'permission_dynamic_assignments';
$default->notifications_table = 'notifications';
$default->authentication_sources_table = 'authentication_sources';
$default->dashlet_disable_table = 'dashlet_disables';
$default->role_allocations_table = 'role_allocations';
$default->document_role_allocations_table = 'document_role_allocations';
$default->plugins_table = 'plugins';
$default->document_metadata_version_table = 'document_metadata_version';
$default->document_content_version_table = 'document_content_version';
$default->trigger_selection_table = 'trigger_selection';
$default->type_workflow_map_table = 'type_workflow_map';
$default->folder_workflow_map_table = 'folder_workflow_map';
$default->workflow_state_permission_assignments_table = 'workflow_state_permission_assignments';
?>
