mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 03:09:22 +02:00
16 lines
371 B
PHP
16 lines
371 B
PHP
<?php
|
|
|
|
if(PHP_SAPI !== 'cli') {
|
|
echo 'This script can be run only in command line mode.';
|
|
exit(1);
|
|
}
|
|
|
|
require_once __DIR__ . '/../../common.php';
|
|
require_once SYSTEM . 'functions.php';
|
|
require_once SYSTEM . 'init.php';
|
|
|
|
$test = new \Illuminate\Database\Schema\MySqlSchemaState($eloquentConnection);
|
|
$test->dump($eloquentConnection, BASE . 'dump.sql');
|
|
|
|
echo 'Dumped.';
|