Category: Laravel

Showing all posts with category Laravel

2025-04-15 23:27:21

Revert Migrations in Laravel

These modifications could involve building new tables, changing current tables, adding or changing columns, and seeding the database with starting data.

In a migration class, you will find two methods: up and down. To expand your database with new tables, columns, or indexes, you can use the up method, and to undo the changes made by the up method, you can use the down method.