PHP Classes

Generate database auto increment table alter query: Generate MySQL database auto increment alter query

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 218 All time: 8,291 This week: 488Up
Version License PHP version Categories
autoincrement 1.00GNU General Publi...4.0Databases
Description 

Author

This class can be used to generate MySQL database alter statements queries to add auto-increment fields.

It traverse all tables of a given MySQL database and generates SQL statements that alter the tables to add auto-increment fields after restoring a database dump that did not preserve the auto-increment fields.

The generates SQL statements may be returned as a single string or be served for download as the current script output.

Picture of Muhammed Imran Hussain
Name: Muhammed Imran Hussain <contact>
Classes: 1 package by
Country: Bangladesh Bangladesh

  Files folder image Files (1)  
File Role Description
Plain text file ClsAlterDb.php Class Alter Table Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:218
This week:0
All time:8,291
This week:488Up