mercredi 3 mai 2017

Laravel 5 Database TIME Field Error

I`m new to the laravel 5.4.so that when i implement a CRUD application so that in one feild i have to enter time period.so i add time period as 13.00-14.00 then after i save it gives this error.

enter image description here

Here is my Migration

*/
public function up()
{
     Schema::create('trainingprogramedetails', function (Blueprint $table) {

         $table->increments('id');
         $table->date('date_of_programe');
            $table->time('time');
            $table->string('venue');
            $table->string('training_programe_id');
            $table->string('presenter_name');
            $table->string('division');
            $table->date('date');
         $table->rememberToken();
        $table->timestamps();
    });



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire