@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $this->getApplication()->out('No database found.') |
| 93 | 93 | ->out('Creating the database...', false); |
| 94 | 94 | |
| 95 | - $this->db->setQuery('CREATE DATABASE ' . $this->db->quoteName($this->getApplication()->get('database.name'))) |
|
| 95 | + $this->db->setQuery('CREATE DATABASE '.$this->db->quoteName($this->getApplication()->get('database.name'))) |
|
| 96 | 96 | ->execute(); |
| 97 | 97 | |
| 98 | 98 | $this->db->select($this->getApplication()->get('database.name')); |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | private function processSql() : InstallCommand |
| 154 | 154 | { |
| 155 | - $fName = APPROOT . '/etc/mysql.sql'; |
|
| 155 | + $fName = APPROOT.'/etc/mysql.sql'; |
|
| 156 | 156 | |
| 157 | 157 | if (!file_exists($fName)) |
| 158 | 158 | { |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | */ |
| 159 | 159 | private function doMigration(string $version) : void |
| 160 | 160 | { |
| 161 | - $sqlFile = 'migrations/' . $version . '.sql'; |
|
| 161 | + $sqlFile = 'migrations/'.$version.'.sql'; |
|
| 162 | 162 | |
| 163 | 163 | if (!$this->filesystem->has($sqlFile)) |
| 164 | 164 | { |