This commit is contained in:
2021-06-28 23:15:13 -04:00
parent 0061a3d920
commit f4a8db56ff
93 changed files with 2422 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace ProVM\Common\Service;
class Migrator {
protected $schema_filename;
protected $migrations_folder;
protected $seeds_folder;
public function __construct(string $schema_filename, string $migrations_folder, string $seeds_folder) {
$this->schema_filename = $schema_filename;
$this->migrations_folder = $migrations_folder;
$this->seeds_folder = $seeds_folder;
}
protected $schema;
public function schema() {
if ($this->schema === null) {
$file = new \File($this->schema_filename);
}
}
}