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 the record, it says that the column was not found. Even I do not use "$ table-> timestamps ();"
Please help, how to fix it? Do I need to store "timestamps ()" for each table?
Illuminate \ Database \ QueryException
SQLSTATE [42S22]: column not found: 1054 Unknown column "updated_at" in the "list of fields" (SQL values: insert into the values โโof tags ( tagName , tagCreated , updated_at , created_at )) test, 2014-02-08 16:19:04 , 2014-02-08 11:19:09, 2014-02-08 11:19:09))
php laravel laravel-4
zarpio
source share