You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Fix missing transolations 🆙
This commit is contained in:
@@ -49,7 +49,7 @@ if (! function_exists('findMigration')) {
|
||||
foreach (glob(database_path('migrations/*.php')) as $filename) {
|
||||
// Check if the migration file has the Schema::create() line with the given table name
|
||||
$content = file_get_contents($filename);
|
||||
if (preg_match("/Schema::create\\(['\"]".preg_quote($tableName, '/')."['\"]/", $content)) {
|
||||
if (preg_match("/Schema::create\\(['\"]" . preg_quote($tableName, '/') . "['\"]/", $content)) {
|
||||
return basename($filename, '.php');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user