LoginSignup
0
1

More than 5 years have passed since last update.

OctoberCMSのadminユーザがなくなったときの対処法

Last updated at Posted at 2017-11-09

マイグレーションをごちゃごちゃやっていると、たまにデフォルトで入っているadminユーザ(テスト用だろうが)がなくなる、ときの対処法。

プロジェクトルートで下記を実行。

php artisan db:seed --class="\Backend\Database\Seeds\SeedSetupAdmin"

マイグレーションをdownしてupしたときに、プラグインのマイグレーションなどでコケて最後のadminユーザ追加が実行されなかった時に使える。

出典:https://octobercms.com/forum/post/admin-account-suspended-how-to-get-back-in

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1