()
| 27 | } |
| 28 | |
| 29 | protected function fillData(): void |
| 30 | { |
| 31 | $this->relativePath = str_replace(getcwd(), '', $this->migration); |
| 32 | $this->migrationName = str_replace('.php', '', basename($this->migration)); |
| 33 | $this->datePrefix = substr(basename($this->migration), 0, 10); |
| 34 | $this->fullPrefix = substr(basename($this->migration), 0, 17); |
| 35 | |
| 36 | $this->calculateCreatedTables(); |
| 37 | $this->calculateChangedTables(); |
| 38 | $this->calculateTableRenames(); |
| 39 | |
| 40 | $this->attachToTables(); |
| 41 | } |
| 42 | |
| 43 | public function calculateCreatedTables(): void |
| 44 | { |
no test coverage detected