This package is here to make migrations DRY again.
For example, add soft deletes migration in a super short way:
use Abagayev\Laravel\MigrationShortcuts\Migrations\AddSoftDeletesMigration;
class AddSoftDeletesToTableMigration extends AddSoftDeletesMigration
{
protected $table = 'table_name';
}
- Rename a column
- Change column type
- Add a table
- Rename a table
- Delete a table
- Command to create migrations
Feel free to add comments, issues, pull requests or buy me a coffee: https://www.buymeacoffee.com/tonybug