hasnhasan/migrationsync

There is no license information available for the latest version (dev-master) of this package.

Migration Database SYNC

dev-master 2019-12-24 11:36 UTC

This package is auto-updated.

Last update: 2024-04-29 04:00:53 UTC


README

Laravel Database to Migration SYNC

composer require hasnhasan/migration-sync

Added .env File

DB_DATABASE_SYNC=create another database on the server where your database is located.

php artisan migrate:sync

What does it do?

Detects the changes you have made to the database or your additions to a new table.

Converts the detected changes to the Laravel Migration file.