Code Duplication    Length = 16-21 lines in 2 locations

database/migrations/2014_11_01_171758_create_lt_Venue_table.php 1 location

@@ 13-28 (lines=16) @@
10
     *
11
     * @return void
12
     */
13
    public function up()
14
    {
15
        Schema::create('venue', function (Blueprint $table) {
16
            $table->increments('id');
17
            $table->string('venue_name');
18
            $table->string('address')->nullable();
19
            $table->string('details')->nullable();
20
            $table->string('city')->nullable();
21
            $table->string('CP')->nullable();
22
            $table->string('state')->nullable();
23
            $table->string('latitude')->nullable();
24
            $table->string('longitude')->nullable();
25
            $table->timestamps();
26
            $table->engine = 'InnoDB';
27
        });
28
    }
29
30
    /**
31
     * Reverse the migrations.

database/migrations/2015_10_24_223707_create_lt_FightersGroup_table.php 1 location

@@ 16-36 (lines=21) @@
13
     *
14
     * @return void
15
     */
16
    public function up()
17
    {
18
        Schema::create('fighters_groups', function (Blueprint $table) {
19
            $table->increments('id');
20
            $table->tinyInteger('short_id')->unsigned()->nullable();
21
            $table->integer('championship_id')->unsigned()->index();
22
            $table->tinyInteger('round')->default(0); // Eliminitory, 1/8, 1/4, etc.
23
            $table->tinyInteger('area');
24
            $table->tinyInteger('order');
25
            NestedSet::columns($table);
26
27
            $table->timestamps();
28
            $table->engine = 'InnoDB';
29
30
            $table->foreign('championship_id')
31
                ->references('id')
32
                ->onUpdate('cascade')
33
                ->on('championship')
34
                ->onDelete('cascade');
35
        });
36
    }
37
38
    /**
39
     * Reverse the migrations.