smousss/laravel-migratize

使用 GPT-4 生成缺失的迁移文件。

0.1.2 2023-04-20 09:41 UTC

This package is auto-updated.

Last update: 2024-09-24 15:02:38 UTC


README

Migratize

再次享受迁移的便利

Latest Version on Packagist GitHub Tests Action Status Total Downloads

无论您使用的是 MariaDB、MySQL、Oracle、PostgreSQL、SQLite、SQL server 还是其他任何数据库,Smousss 都会利用 GPT-4 的力量,根据您当前数据库中的内容生成缺失的迁移文件。

安装

使用 Composer 安装包

composer require smousss/laravel-migratize

发布配置文件

php artisan vendor:publish --tag=migratize-config

使用方法

首先,在 smousss.com 上生成一个密钥

然后,生成您的迁移文件

php artisan smousss:migratize

致谢

Migratize for Laravel 由 Benjamin Crozat 为 Smousss (Twitter) 开发。

许可证

MIT