Does the field "name" exists in the "Days" class ? I suppose it's a table, so does the field "Name" exists in the "Days" table ?
MaximeDawn said:
Does the field "name" exists in the "Days" class ? I suppose it's a table, so does the field "Name" exists in the "Days" table ?
Schema::create('days', function (Blueprint $table) {
$table->increments('id');
$table->string('name')->unique();
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community