When running a migration it is a good idea to make a backup. But deleting a table in a migration means that table is not needed by the app anymore so why keep it. If you really want to keep the old table try renaming it. If you need to migrate old data you can still access the DB class in the migration class so you can migrate old rows one by one on to the new table and then delete/rename the old table.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community