Passed
Push — dependabot/npm_and_yarn/string... ( b56eb5...bc569b )
by
unknown
45:46 queued 33s
created

AddSeoKeywordsOnPageTranslations   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 3
dl 0
loc 11
rs 10
c 2
b 0
f 1
wmc 2
1
<?php
2
3
use Illuminate\Support\Facades\Schema;
4
use Illuminate\Database\Schema\Blueprint;
5
use Illuminate\Database\Migrations\Migration;
6
7
class AddSeoKeywordsOnPageTranslations extends Migration
8
{
9
    public function up()
10
    {
11
        Schema::table('page_translations', function (Blueprint $table) {
12
            $table->string('seo_keywords')->after('seo_description')->nullable();
13
        });
14
    }
15
16
    public function down()
17
    {
18
    }
19
}
20