Sets table name for the model (default is lowercase plural form, in this case
posts
)
class Post extends Model
{
    // Table Name
    protected $table = 't_posts';
}
by Valeri Tandilashvili
4 years ago
Laravel
models
Laravel From Scratch
0
Pro tip: use ```triple backticks around text``` to write in code fences