diff --git a/framework/Database/Commands/MakeMigrationCommand.php b/framework/Database/Commands/MakeMigrationCommand.php index 503a973..1114c99 100644 --- a/framework/Database/Commands/MakeMigrationCommand.php +++ b/framework/Database/Commands/MakeMigrationCommand.php @@ -23,13 +23,18 @@ public function execute(array $args): int file_put_contents( $path, 'id()' . PHP_EOL . + ' ->string(\'column-name\', 255)' . PHP_EOL . + ' ->timestamps()' . PHP_EOL . + ' );' . PHP_EOL . ' }' . PHP_EOL . '};' . PHP_EOL );