ajthinking/the-missing-schema
Composer 安装命令:
composer require ajthinking/the-missing-schema
包简介
A schema.json file
README 文档
README
Sometimes we just want to see/use a list of all models and their columns
Installation
composer require ajthinking/the-missing-schema
Usage
<?php
use TheMissingSchema\Schema;
Schema::save();
Now, you can see a file schema.json in your database folder. At the moment it does not do anything, and it does not affect your migrations whatsoever.
{
"users": [
{
"columnName": "name",
...
},
...
],
...
}
Supported drivers
- sqlite
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-01