david-moreno-cortina/blue-orm
Composer 安装命令:
composer require david-moreno-cortina/blue-orm
包简介
A simple ORM to manage migrations
README 文档
README
Simple ORM to manage migrations
Usage
Has a command to execute some orders.
List commands:
vendor/bin/blueorm.php
Create a migration:
vendor/bin/blueorm.php migrate:create
Execute pending migrations:
vendor/bin/blueorm.php migrate:up
Tear down the last migration:
vendor/bin/blueorm.php migrate:down
Show last migration version name:
vendor/bin/blueorm.php migrate:last-migration
blueorm.php uses a settings file called blueorm-settings.php that it's generated on first run.
Includes a base repository called BaseRepository
Database
Have to be initialize using ConfigDatabase class by creating a migration.
Tests
blueorm-settings.php must be configured to be able to run tests. It's create at first run
License
Authors
- David Moreno Cortina
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-26