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.

Installs: 19

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/bertugfahriozer/sql2migration

v1.0.3 2025-09-17 05:41 UTC

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