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.1 2025-09-07 22:37 UTC

This package is auto-updated.

Last update: 2025-09-07 22:40:19 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 yourvendor/sql-to-migration

Useage

php spark sql2migration /path/to/database.sql

For details: Documentation