. */ if (!defined('TXP_UPDATE')) { exit("Nothing here. You can't access this file directly."); } $txpplugin = getThings('DESCRIBE `'.PFX.'txp_plugin`'); if (!in_array('load_order', $txpplugin)) { safe_alter('txp_plugin', "ADD load_order TINYINT UNSIGNED NOT NULL DEFAULT 5"); } // Expiry datetime for articles. $txp = getThings("DESCRIBE `".PFX."textpattern`"); if (!in_array('Expires', $txp)) { safe_alter('textpattern', "ADD Expires DATETIME AFTER Posted"); } safe_create_index('textpattern', 'Expires', 'Expires_idx');