Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for Metafox/sql/updates/0.9.0/update.sql between version 1.9 and 1.10

version 1.9, 2010/11/02 17:32:27 version 1.10, 2011/01/24 16:44:49
Line 45  ALTER TABLE `ezin_articles` ADD `calenda
Line 45  ALTER TABLE `ezin_articles` ADD `calenda
 --  --
 -- Flag for Featured Articles  -- Flag for Featured Articles
 --  --
 ALTER TABLE `ezin_articles` ADD `featured_articles_flag` DATETIME NULL AFTER `calendar_flag` ;  
   
   ALTER TABLE `ezin_articles` ADD `featured_articles_flag` DATETIME NULL AFTER `calendar_flag` ;
   
   --
   -- New Article status and Section type, transform value from old type to new
   --
   ALTER TABLE `ezin_articles` ADD `display` SET('enabled','in_normal','in_global') AFTER `status` ;
   
   UPDATE `ezin_articles` SET `display` = 'enabled,in_normal,in_global' WHERE `status` = 'showed' ;
   UPDATE `ezin_articles` SET `display` = 'enabled,in_normal' WHERE `status` = 'partly_showed' ;
   UPDATE `ezin_articles` SET `display` = 'enabled' WHERE `status` = 'hidden' ;
   UPDATE `ezin_articles` SET `display` = '' WHERE `status` = 'disabled' ;
   
   ALTER TABLE `ezin_sections` ADD `type2` SET('global') AFTER `type` ;
   ALTER TABLE `ezin_sections` ADD `display` SET('in_list','articles_enabled','articles_in_normal','articles_in_global') AFTER `type2` ;
   ALTER TABLE `ezin_sections` ADD `select` SET('articles','pages','editorials') AFTER `display` ;
   
   UPDATE `ezin_sections` SET `type2` = 'global', `display` = 'in_list,articles_enabled,articles_in_normal,articles_in_global', `select` = 'articles,pages,editorials' WHERE `type` = 'global' ;
   UPDATE `ezin_sections` SET `type2` = '', `display` = 'in_list,articles_enabled,articles_in_normal,articles_in_global', `select` = 'articles,pages,editorials' WHERE `type` = 'normal' ;
   UPDATE `ezin_sections` SET `type2` = '', `display` = 'articles_enabled,articles_in_normal,articles_in_global', `select` = 'articles,pages,editorials' WHERE `type` = 'hidden' ;
   UPDATE `ezin_sections` SET `type2` = '', `display` = 'articles_enabled,articles_in_normal', `select` = 'articles,pages,editorials' WHERE `type` = 'hidden2' ;
   UPDATE `ezin_sections` SET `type2` = '', `display` = 'articles_enabled', `select` = 'articles,pages,editorials' WHERE `type` = 'full_hidden' ;
   UPDATE `ezin_sections` SET `type2` = '', `display` = '', `select` = '' WHERE `type` = 'disabled' ;
   

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top