Shift cleanup

This commit is contained in:
Shift 2023-01-05 17:03:38 +00:00
parent 78980a993f
commit 0e3f6c98aa
No known key found for this signature in database
GPG key ID: 5A96F038425C5A1C
10 changed files with 2 additions and 8 deletions

View file

@ -15,6 +15,7 @@ class ApplicationApi extends Model
protected $primaryKey = 'token';
public $incrementing = false;
protected $casts = [
'last_used' => 'datetime',
];

View file

@ -25,6 +25,7 @@ class Voucher extends Model
'uses',
'expires_at',
];
/**
* The attributes that should be cast to native types.
*

View file

@ -54,4 +54,3 @@ class EventServiceProvider extends ServiceProvider
return false;
}
}

View file

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\ApplicationApi;
use Illuminate\Database\Eloquent\Factories\Factory;
class ApplicationApiFactory extends Factory

View file

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\DiscordUser;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;

View file

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\Payment;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;

View file

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\Product;
use Illuminate\Database\Eloquent\Factories\Factory;
class ProductFactory extends Factory

View file

@ -3,7 +3,6 @@
namespace Database\Factories;
use App\Models\Product;
use App\Models\Server;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;

View file

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\UsefulLink;
use Illuminate\Database\Eloquent\Factories\Factory;
class UsefulLinkFactory extends Factory

View file

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;