upgrade.sql
changeset 340 b3ffcc800def
parent 339 1ce3db9a46fb
child 344 0fa28c5aabe9
equal deleted inserted replaced
339:1ce3db9a46fb 340:b3ffcc800def
     1 -- Enano CMS - upgrade SQL
     1 -- Enano CMS - upgrade SQL
     2 -- Variables are in the format {{VAR_NAME}}
     2 -- Variables are in the format {{VAR_NAME}}
     3 -- ALL NON-SQL LINES, even otherwise blank lines, must start with "--" or they will get sent to MySQL!
     3 -- ALL NON-SQL LINES, even otherwise blank lines, must start with "--" or they will get sent to MySQL!
     4 -- Common tasks (version numbers)
     4 -- Common tasks (version numbers)
     5 DELETE FROM {{TABLE_PREFIX}}config WHERE config_name='enano_version' OR config_name='enano_beta_version' OR config_name='enano_alpha_version' OR config_name='enano_rc_version';
     5 DELETE FROM {{TABLE_PREFIX}}config WHERE config_name='enano_version' OR config_name='enano_beta_version' OR config_name='enano_alpha_version' OR config_name='enano_rc_version';
     6 INSERT INTO {{TABLE_PREFIX}}config (config_name, config_value) VALUES( 'enano_version', '1.0.6pl2' );
     6 INSERT INTO {{TABLE_PREFIX}}config (config_name, config_value) VALUES( 'enano_version', '1.0.6pl3' );
       
     7 ---BEGIN 1.0.6pl3---
       
     8 ---END 1.0.6pl3---
     7 ---BEGIN 1.0.6pl2---
     9 ---BEGIN 1.0.6pl2---
     8 ---END 1.0.6pl2---
    10 ---END 1.0.6pl2---
     9 ---BEGIN 1.0.6pl1---
    11 ---BEGIN 1.0.6pl1---
    10 ---END 1.0.6pl1---
    12 ---END 1.0.6pl1---
    11 ---BEGIN 1.0.6---
    13 ---BEGIN 1.0.6---