Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class CreateLaravelOpdTable extends Migration |
||
9 | { |
||
10 | /** |
||
11 | * Run the migrations. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | public function up() |
||
16 | { |
||
17 | |||
18 | |||
19 | Schema::create('ref_unkerjas', function (Blueprint $table) { |
||
20 | $table->increments('id'); |
||
21 | $table->string('kunker',191)->index(); |
||
22 | $table->string('name',191); |
||
23 | $table->string('kunker_simral',191)->nullable(); |
||
24 | $table->integer('levelunker'); |
||
25 | NestedSet::columns($table); |
||
26 | $table->timestamps(); |
||
27 | }); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Reverse the migrations. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | public function down() |
||
38 | } |
||
39 | } |
||
40 |