Work with existing tables without deleting their contents when doing migrations

Hi guys, I'd like to work with already existing data in the database. Unfortunately the table is deleted once I apply the migration to make Laravel aware of the database layout. Is there a way to work with data in already existing tables without deleting their contents? Best regards, Tom
Solution:
What do you mean by making aware? You can either skip a migration or add checks in the migration to see if tables / columns already exist. Migrations create/update tables, columns, indexes etc and thats it.
Jump to solution
2 Replies
Solution
Tim van Heugten
Tim van Heugten3mo ago
What do you mean by making aware? You can either skip a migration or add checks in the migration to see if tables / columns already exist. Migrations create/update tables, columns, indexes etc and thats it.
Obi Wan Kenobi
Obi Wan Kenobi3mo ago
thanks. That was not clear to me.