Files
roi-theme/wp-content/plugins/thrive-ab-page-testing/migrations/revenue-1.1.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

18 lines
535 B
PHP
Executable File

<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
/** @var TD_DB_Migration $installer */
$installer = $this;
$installer->add_or_modify_column( 'event_log', 'revenue', "DECIMAL(10,2 ) NOT NULL DEFAULT '0' AFTER `event_type`" )
->add_or_modify_column( 'event_log', 'goal_page', "BIGINT(20) NULL DEFAULT NULL AFTER `revenue`" )
->add_or_modify_column( 'tests', 'goal_pages', "LONGTEXT NULL DEFAULT NULL" );