Passed
Push — master ( 6ac985...96b623 )
by Bruno
09:22 queued 14s
created

CreateDummyNameTable   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 6
c 0
b 0
f 0
dl 0
loc 27
rs 10
1
<?php
2
/**
3
 * This file was automatically generated by Modelarium.
4
 */
5
6
use Illuminate\Support\Facades\Schema;
7
use Illuminate\Database\Schema\Blueprint;
8
use Illuminate\Database\Migrations\Migration;
9
10
class CreateDummyNameTable extends Migration
11
{
12
    /**
13
     * Run the migrations.
14
     *
15
     * @return void
16
     */
17
    public function up()
18
    {
19
        Schema::create('dummytablename', function (Blueprint $table) {
20
            // dummyCode
21
        });
22
    }
23
24
    /**
25
     * Reverse the migrations.
26
     *
27
     * @return void
28
     */
29
    public function down()
30
    {
31
        Schema::dropIfExists('dummytablename');
32
    }
33
34
    public function model(): string
35
    {
36
        return <<<EOF
37
modelSchemaCode
38
EOF;
39
    }
40
}
41