mirror of
https://github.com/10h30/Test-Laravel-Eloquent-Basics.git
synced 2026-07-11 19:05:53 +09:00
Complete Taks 1-2
This commit is contained in:
@@ -10,4 +10,6 @@ class Morningnews extends Model
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = ['title', 'news_text'];
|
||||
|
||||
protected $table = 'morning_news';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user