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

CreateDummyNameTable::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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