マイグレーションファイルを作って編集する前にマイグレーションしてしまった。
まずい。
やりおなしたい。
そんなときはこれをたたく。
直近でやったマイグレーションをなかったことにできる。
php artisan migrate:rollback
参考サイト
Laravel 5.5 データベース:マイグレーション
https://readouble.com/laravel/5.5/ja/migrations.html#rolling-back-migrations
Go to list of users who liked
More than 5 years have passed since last update.
マイグレーションファイルを作って編集する前にマイグレーションしてしまった。
まずい。
やりおなしたい。
そんなときはこれをたたく。
直近でやったマイグレーションをなかったことにできる。
php artisan migrate:rollback
参考サイト
Laravel 5.5 データベース:マイグレーション
https://readouble.com/laravel/5.5/ja/migrations.html#rolling-back-migrations
Register as a new user and use Qiita more conveniently
Go to list of users who liked