Skip to content

CodeIgniter 4 Spark command to convert SQL dump files (e.g., from phpMyAdmin) into migration files. Supports table creation, foreign keys (SET NULL, NO ACTION, CASCADE, etc.), triggers, and database prefix handling. Easy to integrate via Composer.

Notifications You must be signed in to change notification settings

bertugfahriozer/sql2migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL to Migration for CodeIgniter 4

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

About

CodeIgniter 4 Spark command to convert SQL dump files (e.g., from phpMyAdmin) into migration files. Supports table creation, foreign keys (SET NULL, NO ACTION, CASCADE, etc.), triggers, and database prefix handling. Easy to integrate via Composer.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages