CMD逗号结果:
PS D:\WampDatabase\www\PakistanBloodDonors> php artisan migrate Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table (0.37 seconds)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table (0.26 seconds)
Migrating: 2019_09_22_192348_create_messages_table
Migrated: 2019_09_22_192348_create_messages_table (0.31 seconds)
Migrating: 2019_10_16_211433_create_favorites_table
Migrated: 2019_10_16_211433_create_favorites_table (0.19 seconds)
Migrating: 2019_10_18_223259_add_avatar_to_users
Migrated: 2019_10_18_223259_add_avatar_to_users (0 seconds)
Migrating: 2019_10_20_211056_add_messenger_color_to_users
Migrated: 2019_10_20_211056_add_messenger_color_to_users (0.19 seconds)
Migrating: 2019_10_22_000539_add_dark_mode_to_users
Migrated: 2019_10_22_000539_add_dark_mode_to_users (0.14 seconds)
Migrating: 2019_10_25_214038_add_active_status_to_users
Migrated: 2019_10_25_214038_add_active_status_to_users (0.28 seconds)
Migrating: 2020_03_25_130425_create_admins_table
Migrated: 2020_03_25_130425_create_admins_table (0.28 seconds)
Migrating: 2020_04_24_043508_create_opinions_table
Migrated: 2020_04_24_043508_create_opinions_table (0.12 seconds)
Migrating: 2020_04_27_034017_create_volunteers_table
Migrated: 2020_04_27_034017_create_volunteers_table (0.1 seconds)
Migrating: 2020_04_27_145232_create_contacts_table
Migrated: 2020_04_27_145232_create_contacts_table (0.08 seconds)
问题是,我在laravel迁移文件夹中只有users_table,admins_table,志愿者stables,Opinions_table和contact_table。.但是当我使用命令php artisan migrate:fresh
时,它会创建上面的所有迁移,其中message_table,favourites_table和其他表会自动包括在内。我不知道这些从哪里来并迁移...
为什么会出现这个问题,基本上我在laravel应用中使用了chatify实时聊天包,所有上述消息,收藏夹头像表都是该包的一部分,但是我已经从laravel应用中删除了每个文件和文件夹...那么为什么现在要创建这些迁移?任何人都可以帮助我知道的人吗?
正如您所提到的,它是chatify迁移,其原因是您没有正确删除所有文件,应该在供应商或其他地方查看,然后找到chatify文件夹然后将其删除
您可以在软件包回购中看到这里https://github.com/munafio/chatify
您将找到数据库,进入数据库将找到迁移及其过程,就像您的应用创建的表一样