/home/techb158/ileadtechnology.com/database/migrations
Edit: /home/techb158/ileadtechnology.com/database/migrations/2020_04_06_223157_create_courses_table.php (1562B)
increments('id');
$table->string('user_id', 191);
$table->string('category_id', 191);
$table->string('subcategory_id', 191);
$table->string('childcategory_id', 191);
$table->string('language_id', 191);
$table->string('title', 191)->nullable();
$table->text('short_detail', 65535)->nullable();
$table->text('detail', 65535)->nullable();
$table->text('requirement', 65535)->nullable();
$table->string('price', 191)->nullable();
$table->string('discount_price', 191)->nullable();
$table->string('day', 191)->nullable();
$table->string('video', 191)->nullable();
$table->string('url', 191)->nullable();
$table->enum('featured', array('1','0'))->nullable();
$table->string('slug', 191)->nullable();
$table->enum('status', array('1','0'))->nullable();
$table->string('preview_image', 191)->nullable();
$table->string('video_url', 191)->nullable();
$table->string('preview_type', 191)->nullable();
$table->enum('type', array('1','0'))->nullable();
$table->integer('duration')->nullable();
$table->timestamps();
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('courses');
}
}