<?php date(string $format, ?int $timestamp = null): string
<?php public function handle() { $from = __DIR__.'/stubs/auth/statamic_auth_tables.php.stub'; $file = date('Y_m_d_His', time()).'_statamic_auth_tables'; $to = database_path("migrations/{$file}.php"); $contents = File::get($from);
<?php public function handle() { File::put( database_path().'/migrations/'.date('Y_m_d_His').'_create_users_tables.php', File::get(__DIR__.'/stubs/create_users_tables.php.stub') ); }