added all_news_view

This commit is contained in:
amikhaylov
2026-06-13 22:33:41 +03:00
parent d5f947d59e
commit 71c34cee77
4 changed files with 43 additions and 2 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ use Illuminate\Database\Eloquent\Model;
class News extends Model
{
protected $table = 'allNewsView';
protected $table = 'news';
protected $primaryKey = 'id';
}