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