I have created a table not having created_at and updated_at column,
On submit form to store data into database table it is showing unknown column created_at and updated_at.
How to submit into database table without having these two column
You either have to declare
public $timestamps = false;in every model, or create a BaseModel, define it there, and have all your models extend it instead of eloquent.
class ModalName extends Model
protected $table = 'table_name';
public $timestamps = false;