Completed
Push — master ( 9ff25d...a4e20e )
by Nicolas
06:59
created

CreateRecipeRecipesTable   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 26
rs 10
1
<?php
2
3
use Illuminate\Database\Schema\Blueprint;
4
use Illuminate\Database\Migrations\Migration;
5
6
class CreateRecipeRecipesTable extends Migration
7
{
8
	/**
9
	 * Run the migrations.
10
	 *
11
	 * @return void
12
	 */
13
	public function up()
14
	{
15
		Schema::create('recipe__recipes', function(Blueprint $table) {
16
			$table->engine = 'InnoDB';
17
            $table->increments('id');
18
            $table->timestamps();
19
		});
20
	}
21
22
	/**
23
	 * Reverse the migrations.
24
	 *
25
	 * @return void
26
	 */
27
	public function down()
28
	{
29
		Schema::drop('recipe__recipes');
30
	}
31
}
32