PHP code example of felicity-php / felicity-migrate
1. Go to this page and download the library: Download felicity-php/felicity-migrate 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/ */
felicity-php / felicity-migrate example snippets
use felicity\config\Config;
Config::set('felicity.migrate.locations.dev', dirname(__DIR__) . '/migrations');
use felicity\config\Config;
Config::set('felicity.migrate.migrationsDir', dirname(__DIR__) . '/migrations');