PHP code example of catidegla / safe-migrations
1. Go to this page and download the library: Download catidegla/safe-migrations library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
catidegla / safe-migrations example snippets
'lock_timeout' => '3s', // 3 on MySQL, 3000 on SQL Server
// safe-migrations-ignore: drop-column
$table->dropColumn('legacy');