承接 hrsa/redo 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hrsa/redo

最新稳定版本:0.1.0

Composer 安装命令:

composer require hrsa/redo

包简介

Migrate:redo command for Laravel 5.5+

README 文档

README

migrate:redo command for Laravel 5.5+

  1. Make sure you're using Laravel 5.5 or higher
  2. Run composer require --dev hrsa/redo
  3. Run php artisan migrate:redo as much as you want! :)

A lot of developers (myself included) often have to rollback and re-run the newly-created migration because we had a last-second decision that we need to add another column, or change the column structure.

I know that there is an option to do php artisan migrate:refresh --step=1 - but the command often needs an additional alias due to its length - because most of the time we don't need to refresh all the migrations (as it does with no parameters), but only the recent one.

So, such command would help us save the time developing and quickly editing new migrations !

Just in case, it also accepts ``--step` parameter, which defaults to 1 but can be set to any number.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-08