13 lines
275 B
PHP
13 lines
275 B
PHP
|
<?php
|
||
|
namespace Misuzu\DatabaseMigrations\AuditLogTableFixes;
|
||
|
|
||
|
use PDO;
|
||
|
|
||
|
function migrate_up(PDO $conn): void {
|
||
|
$conn->exec('
|
||
|
ALTER TABLE `msz_audit_log`
|
||
|
DROP COLUMN `log_id`,
|
||
|
ADD INDEX `audit_log_created_index` (`log_created`);
|
||
|
');
|
||
|
}
|