This is my table structure
public function up()
{
Schema::create('tags', function($table){
$table->increments('tagId');
$table->string('tagName');
$table->timestamp('tagCreated');
});
}
When I store a record, it says me column not found. Even I am not using "$table->timestamps();"
Please help how to fix it? Is it necessary to store "timestamps()" for every table?
Illuminate \ Database \ QueryException
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into
tags
(tagName
,tagCreated
,updated_at
,created_at
) values (test, 2014-02-08 16:19:04, 2014-02-08 11:19:09, 2014-02-08 11:19:09))