承接 visol/migrations 相关项目开发

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

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

visol/migrations

最新稳定版本:5.0.0

Composer 安装命令:

composer require visol/migrations

包简介

Enable SQL migration powered by Doctrine

README 文档

README

This is a TYPO3 extension that integrates the doctrine migration tool.

Installation

Install the extension with composer. For the time being it is required to declare manually the git repository.

"repositories": [
  {
    "type": "git",
    "url": "https://github.com/visol/ext-migrations.git"
  }
],
composer require visol/migrations

After installing the extension, you might consider overriding the path to the configuration file in the extension manager of TYPO3.

The default configuration file is to be found in EXT:migrations/Configuration/migrations.php

Usage

 migrations
  migrations:dump                    Dump the schema for your database to a migration.
  migrations:generate                Generate a blank migration class.
  migrations:latest                  Outputs the latest version
  migrations:list                    Display a list of all available migrations and their status.
  migrations:migrate                 Execute one or more migration versions up or down manually.
  migrations:rollup                  Rollup migrations by deleting all tracked versions and insert the one version that exists.
  migrations:status                  View the status of a set of migrations.
  migrations:version                 Manually add and delete migration versions from the version table.

To get started, we can recommend executing the command migrations:generate. It will generate a default migration skeleton file.

Credits

Source of inspiration and first implementation from Kai Strobach https://git.kay-strobach.de/typo3/migrations

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2022-06-17