承接 adamgajzlerowicz/migrateur 相关项目开发

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

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

adamgajzlerowicz/migrateur

Composer 安装命令:

composer require adamgajzlerowicz/migrateur

包简介

Console app for running migrations on multiple databases in one go

README 文档

README

#Migrateur

##Purpose: To run migrations on multiple databases simultaneously, using command line.

##Installation: Clone the repository and run composer install. Rename env-example.php to env.php. Put your configuration into the config file.

##Configuration: You will need one primary database, that contains usernames, passwords and database names for all databases you want to run migrations on. Default configuration assumes that your "main" database name is companydatabases that has a databasesettings table, and it will read from dbusername, dbpassword and dbname fields.

You may change the name of your "main" database in the config file. Example table structure will look like this (please notice the company1, company2 and company3 table)

databases

##Usage: In the root folder of the application execute php console.php. This will give you access to three commands: migrate:check, migrate:create and migrate:migrate. The first run of migrate:check command will check if migrations table exist, and create it if it doesn't.

###Daily usage

  • generate new migrations using the migrate:create
  • check status of your migrations with migrate:check
  • run your migrations using migrate:migrate
  • check if the migration run successfully migrate:check

console

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固