Skip to content

Commit

Permalink
default description and keywords size increased
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornbjorn committed Feb 23, 2012
1 parent d8fb98b commit fae4205
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Expand Up @@ -2,6 +2,10 @@ Changelog for SEOLite
===================== =====================
The dates in this changelog use international date format: YYYY-MM-DD (ISO8601) The dates in this changelog use international date format: YYYY-MM-DD (ISO8601)


1.3.5 - 2012-02-23
------------------
* Increased the size of the "default_keywords" and "default_description" fields to 1024 in the database

1.3.4 - 2011-12-19 1.3.4 - 2011-12-19
------------------ ------------------
* Added support for config override of publish tab title (e.g. $config['seo_lite_tab_title'] = 'SEO';) * Added support for config override of publish tab title (e.g. $config['seo_lite_tab_title'] = 'SEO';)
Expand Down
11 changes: 8 additions & 3 deletions seo_lite/upd.seo_lite.php
Expand Up @@ -13,7 +13,7 @@
*/ */
class Seo_lite_upd { class Seo_lite_upd {


var $version = '1.3.4'; var $version = '1.3.5';
var $module_name = "Seo_lite"; var $module_name = "Seo_lite";


/** /**
Expand Down Expand Up @@ -95,11 +95,11 @@ function install()
'type' => 'text',), 'type' => 'text',),
'default_keywords' => array( 'default_keywords' => array(
'type' => 'varchar', 'type' => 'varchar',
'constraint' => '255', 'constraint' => '1024',
'null' => FALSE,), 'null' => FALSE,),
'default_description' => array( 'default_description' => array(
'type' => 'varchar', 'type' => 'varchar',
'constraint' => '255', 'constraint' => '1024',
'null' => FALSE), 'null' => FALSE),


'default_title_postfix' => array( 'default_title_postfix' => array(
Expand Down Expand Up @@ -235,6 +235,11 @@ function update($current = '')
} }
} }


if($current < '1.3.5') {
$sql = "ALTER TABLE `".$this->EE->db->dbprefix('seolite_config')."` CHANGE `default_keywords` `default_keywords` VARCHAR( 1024 ), CHANGE `default_description` `default_description` VARCHAR( 1024 )";
$this->EE->db->query($sql);
}

return TRUE; return TRUE;
} }


Expand Down

0 comments on commit fae4205

Please sign in to comment.