diff options
| author | spiderr <spiderr@bitweaver.org> | 2022-04-12 16:09:06 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2022-04-12 16:09:06 -0400 |
| commit | 50b98a6ec26b886c2a6d7e11dd47e009bb66bfff (patch) | |
| tree | 28b98139849a53dc378a3a15ce863fabf3acaa97 /admin | |
| parent | 84b2c966424dded162fdf78ab3cd191130d8df2f (diff) | |
| download | liberty-50b98a6ec26b886c2a6d7e11dd47e009bb66bfff.tar.gz liberty-50b98a6ec26b886c2a6d7e11dd47e009bb66bfff.tar.bz2 liberty-50b98a6ec26b886c2a6d7e11dd47e009bb66bfff.zip | |
add metatags liberty_content_data support
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/schema_inc.php | 1 | ||||
| -rw-r--r-- | admin/upgrade_inc.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index a13d0ac..317c687 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -267,6 +267,7 @@ $indices = array ( 'liberty_content_perm_perm_idx' => array( 'table' => 'liberty_content_permissions', 'cols' => 'perm_name', 'opts' => NULL ), 'liberty_content_perm_cont_idx' => array( 'table' => 'liberty_content_permissions', 'cols' => 'content_id', 'opts' => NULL ), 'process_id_idx' => array( 'table' => 'liberty_process_queue', 'cols' => 'content_id', 'opts' => NULL ), + 'liberty_content_data_idx' => array( 'table' => 'liberty_content_data', 'cols' => 'content_id', 'opts' => NULL ), 'lib_attachment_meta_idx' => array( 'table' => 'liberty_attachment_meta_data', 'cols' => 'attachment_id', 'opts' => NULL ), 'lib_attachment_meta_type_idx' => array( 'table' => 'liberty_attachment_meta_data', 'cols' => 'meta_type_id', 'opts' => NULL ), 'lib_attachment_meta_title_idx' => array( 'table' => 'liberty_attachment_meta_data', 'cols' => 'meta_title_id', 'opts' => NULL ), diff --git a/admin/upgrade_inc.php b/admin/upgrade_inc.php index 83039db..1f99cc4 100644 --- a/admin/upgrade_inc.php +++ b/admin/upgrade_inc.php @@ -274,7 +274,7 @@ array( 'QUERY' => array( 'SQL92' => array( "UPDATE `".BIT_DB_PREFIX."liberty_content_history` SET `content_id`=(SELECT `content_id` FROM `".BIT_DB_PREFIX."tiki_pages` wp WHERE wp.`page_id`=`".BIT_DB_PREFIX."liberty_content_history`.`page_id`)", "UPDATE `".BIT_DB_PREFIX."liberty_content` SET version=(SELECT `version` from `".BIT_DB_PREFIX."tiki_pages` wp WHERE wp.`content_id`=`".BIT_DB_PREFIX."liberty_content`.`content_id`)", - "UPDATE `".BIT_DB_PREFIX."liberty_content_history` SET `summary`=`decription`", + "UPDATE `".BIT_DB_PREFIX."liberty_content_history` SET `summary`=`description`", )), ), |
