15 lines
515 B
PHP
15 lines
515 B
PHP
<?php
|
|
use Index\Db\DbConnection;
|
|
use Index\Db\Migration\DbMigration;
|
|
|
|
final class KaomojiTable_20250421_005231 implements DbMigration {
|
|
public function migrate(DbConnection $conn): void {
|
|
$conn->execute(<<<SQL
|
|
CREATE TABLE msz_kaomoji (
|
|
kao_id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
kao_string VARCHAR(255) NOT NULL COLLATE 'utf8mb4_bin',
|
|
PRIMARY KEY (kao_id)
|
|
) COLLATE='utf8mb4_bin' ENGINE=InnoDB
|
|
SQL);
|
|
}
|
|
}
|