Laravel Fatal Error Class Not Found when migrating

后端 未结 11 2294
后悔当初
后悔当初 2021-02-02 11:39
  1. I\'ve run artisan migrate:reset.

  2. I\'ve deleted some of my migration files because I didn\'t need these tables anymore.

  3. I

11条回答
  •  感动是毒
    2021-02-02 12:20

    I had this problem too. Must remember: class name must be in accordance with filename. Simple file renaming helped me:)

    For example: in file "2014_12_08_100923_create_items_tables.php" must be class with name "CreateItemsTables" with using CamelCase words.

提交回复
热议问题