<commit_before><?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateTimeSlotsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('time_slots', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('scheduled_course_id')->unsigned();
            $table->string('room');
            $table->time('time_start');
            $table->time('time_end');
            $table->integer('day_of_week_id')->unsigned();
            $table->integer('course_type_id')->unsigned();

            $table->foreign('scheduled_course_id')->references('id')->on('scheduled_courses')->onDelete('cascade');<commit_msg>Added section field in the timeslots table<commit_after><?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateTimeSlotsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('time_slots', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('scheduled_course_id')->unsigned();
            $table->string('section');
            $table->string('room');
            $table->time('time_start');
            $table->time('time_end');
            $table->integer('day_of_week_id')->unsigned();
            $table->integer('course_type_id')->unsigned();

            $table->foreign('scheduled_course_id')->references('id')->on('scheduled_courses')->onDelete('cascade');
{'fraction_non_alphanumeric': 0.16423357664233576, 'fraction_numerical': 0.0, 'mean_word_length': 2.9448441247002397, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6960674', 'n_tokens_mistral': 460, 'n_tokens_neox': 465, 'n_words': 64}