bertugfahriozer / sql2migration
A Spark command for CodeIgniter 4 that generates migration files from an SQL file, with support for foreign keys, triggers, and DB prefix.
v1.0.3
2025-09-17 05:41 UTC
Requires
- php: ^8.0
- codeigniter4/framework: ^4.0
This package is auto-updated.
Last update: 2025-09-17 05:42:10 UTC
README
This package generates CodeIgniter 4 migration files from SQL dump files. It has support for foreign keys, triggers, and DB prefix.
Install
Install with Composer:
composer require bertugfahriozer/sql2migration
Useage
php spark sql2migration /path/to/database.sql
For details: Documentation