2016-01-03 05:48:37 +05:30
|
|
|
<?php
|
2024-12-02 15:40:55 +05:30
|
|
|
/**
|
|
|
|
* @var string $className the new migration class name
|
|
|
|
*/
|
2016-01-03 05:48:37 +05:30
|
|
|
|
|
|
|
echo "<?php\n";
|
|
|
|
?>
|
2024-12-08 21:24:45 +05:30
|
|
|
declare(strict_types=1);
|
2016-01-03 05:48:37 +05:30
|
|
|
|
|
|
|
use console\db\Migration;
|
|
|
|
|
2024-12-08 21:24:45 +05:30
|
|
|
final class <?= $className; ?> extends Migration {
|
2016-01-03 05:48:37 +05:30
|
|
|
|
2024-12-08 21:24:45 +05:30
|
|
|
public function safeUp(): void {
|
2016-01-03 05:48:37 +05:30
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-12-08 21:24:45 +05:30
|
|
|
public function safeDown(): void {
|
2016-01-03 05:48:37 +05:30
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|