定制 invenso/doctrine-cleanup-migrations 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

invenso/doctrine-cleanup-migrations

最新稳定版本:1.0.0

Composer 安装命令:

composer require invenso/doctrine-cleanup-migrations

包简介

Invenso DoctrineCleanupMigrations Bundle

README 文档

README

Getting started

This package is used to clean up your migrations locally by compressing it to one file and deleting all references but the two newly created ones.

Installation

To install this package run:

composer require invenso/doctrine-cleanup-migrations

Usage

After installation run:

php bin/console invenso:cleanup:migrations

and follow the logging closely.

Pending migration check

Before deleting everything the cleanup script will check if there are still migrations pending. If that's the case you need to make sure those will be either applied or discarded before being able to proceed.

Run:

php bin/console doctrine:migrations:status

To see more information about the pending versions.

After cleanup migration

After the cleanup you'll get the option to migrate your newly cleaned migrations. The default option is "N" but if you fill out "Y" you'll have to confirm this 2-3 more times.

You can also choose to run the migrations manually:

php bin/console doctrine:migrations:migrate

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2024-01-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固