Skip to content

Commit

Permalink
Add table names for models
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDavidson committed Nov 19, 2024
1 parent 1d77614 commit 9f1f422
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/Models/StableActivation.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class StableActivation extends Model
/** @use HasFactory<\Database\Factories\StableActivationFactory> */
use HasFactory;

/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'stables_activations';

/**
* The attributes that are mass assignable.
*
Expand Down
7 changes: 7 additions & 0 deletions app/Models/TitleActivation.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class TitleActivation extends Model
/** @use HasFactory<\Database\Factories\TitleActivationFactory> */
use HasFactory;

/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'titles_activations';

/**
* The attributes that are mass assignable.
*
Expand Down

0 comments on commit 9f1f422

Please sign in to comment.