L5 Namespacing Update
This commit is contained in:
parent
651e06fdb9
commit
7718d8b8cb
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php namespace App\Models;
|
||||
|
||||
use Eloquent;
|
||||
|
||||
class Language extends Eloquent
|
||||
{
|
||||
public $timestamps = false;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class AddDanishTranslation extends Migration {
|
|||
*/
|
||||
public function down()
|
||||
{
|
||||
$language = Language::whereLocale('da')->first();
|
||||
$language = \App\Models\Language::whereLocale('da')->first();
|
||||
$language->delete();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue