- 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>
19 lines
493 B
PHP
Executable File
19 lines
493 B
PHP
Executable File
<?php
|
|
/**
|
|
* Migration for creating required table for emails log
|
|
*/
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit( 1 );
|
|
}
|
|
|
|
/** @var TD_DB_Migration $installer */
|
|
$installer = $this;
|
|
|
|
$installer->create_table('emails', "
|
|
`id` BIGINT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
`campaign_id` BIGINT(20) UNSIGNED NOT NULL,
|
|
`email` VARCHAR(255) NOT NULL,
|
|
`started` DATETIME NOT NULL,
|
|
`type` VARCHAR(255) NOT NULL DEFAULT 'url',
|
|
`end` TINYINT UNSIGNED NOT NULL DEFAULT 0");
|