well, you should have a look here: http://laravel.com/docs/eloquent#timestamps and here http://laravel.com/docs/schema
long storry short. -> In your model (Music), add the following somewhere near the top
public $timestamps = false;
OR in your migration, add
and rerun the migration
So did you read the docs? http://laravel.com/docs/eloquent
Once a model is defined, you are ready to start retrieving and creating records in your table. Note that you will need to place updated_at and created_at columns on your table by default. If you do not wish to have these columns automatically maintained, set the $timestamps property on your model to false.
If you want timestamp, just add
$table->timestamps(); to your migration.
Oh. Now i feel stupid!
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.