firstPHP/console.php
2024-04-03 18:25:38 +03:00

31 lines
900 B
PHP
Executable File

<?php
use itguild\forms\migrations\UserMigration;
use Illuminate\Filesystem\Filesystem;
const ROOT_PATH = __DIR__;
require_once "vendor/autoload.php";
require_once "bootstrap/db.php";
//$fileSystem = new Filesystem();
//
//$migration = new \Illuminate\Database\Migrations\MigrationCreator($fileSystem, "migrations/stubs");
//
////try {
//// $migration->create("some", "migrations", "my");
////} catch (Exception $e) {
//// var_dump($e->getMessage());
////}
//$rep = new \Illuminate\Database\Migrations\DatabaseMigrationRepository();
//$migrator = new \Illuminate\Database\Migrations\Migrator()
//UserMigration::up();
//\itguild\forms\migrations\FormsMigration::up();
//\itguild\forms\migrations\InputsTypeMigration::up();
//\itguild\forms\migrations\FormsInputMigration::up();
//\itguild\forms\migrations\FormsResMigration::up();
//\itguild\forms\migrations\InputsValueMigrations::up();