firstPHP/console.php

31 lines
900 B
PHP
Raw Normal View History

2024-03-25 18:07:54 +03:00
<?php
use itguild\forms\migrations\UserMigration;
2024-03-29 17:47:46 +03:00
use Illuminate\Filesystem\Filesystem;
2024-03-25 18:07:54 +03:00
const ROOT_PATH = __DIR__;
require_once "vendor/autoload.php";
require_once "bootstrap/db.php";
2024-03-29 17:47:46 +03:00
//$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();
2024-04-03 18:25:38 +03:00