AddTableCmsApicustom::down()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
use Illuminate\Database\Migrations\Migration;
4
use Illuminate\Database\Schema\Blueprint;
5
6
class AddTableCmsApicustom extends Migration
7
{
8
    /**
9
     * Run the migrations.
10
     *
11
     * @return void
12
     */
13
    public function up()
14
    {
15
        Schema::create('cms_apicustom', function (Blueprint $table) {
16
            $table->increments('id');
17
18
            $table->string('permalink')->nullable();
19
            $table->string('tabel')->nullable();
20
            $table->string('aksi')->nullable();
21
            $table->text('kolom')->nullable();
22
            $table->string('orderby')->nullable();
23
            $table->text('sub_query_1')->nullable();
24
            $table->text('sql_where')->nullable();
25
            $table->string('nama')->nullable();
26
            $table->string('keterangan')->nullable();
27
            $table->string('parameter')->nullable();
28
29
            $table->timestamps();
30
        });
31
    }
32
33
    /**
34
     * Reverse the migrations.
35
     *
36
     * @return void
37
     */
38
    public function down()
39
    {
40
        Schema::drop('cms_apicustom');
41
    }
42
}
43