定制 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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固