Code Duplication    Length = 9-9 lines in 2 locations

Database/Migrations/2015_06_18_170048_make_settings_value_text_field.php 2 locations

@@ 12-20 (lines=9) @@
9
     * Run the migrations.
10
     * @return void
11
     */
12
    public function up()
13
    {
14
        Schema::table('setting__settings', function (Blueprint $table) {
15
            $table->text('plainValue')->string('plainValue')->change();
16
        });
17
        Schema::table('setting__setting_translations', function (Blueprint $table) {
18
            $table->text('value')->string('value')->change();
19
        });
20
    }
21
22
    /**
23
     * Reverse the migrations.
@@ 26-34 (lines=9) @@
23
     * Reverse the migrations.
24
     * @return void
25
     */
26
    public function down()
27
    {
28
        Schema::table('setting__settings', function (Blueprint $table) {
29
            $table->string('plainValue')->text('plainValue')->change();
30
        });
31
        Schema::table('setting__setting_translations', function (Blueprint $table) {
32
            $table->string('value')->text('value')->change();
33
        });
34
    }
35
}
36