Completed
Push — master ( 67a2f2...6da5f6 )
by Joao
03:19
created
src/Migrations/2016_01_18_000000_create_to_do_list_tables.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
 
17
-        Schema::create('Task', function (Blueprint $table) {
17
+        Schema::create('Task', function(Blueprint $table) {
18 18
             $table->increments('id');
19 19
             $table->string('title', 50);
20 20
             $table->string('description', 250)->nullable();
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             $table->softDeletes();
24 24
         });
25 25
 
26
-        Schema::create('TaskList', function (Blueprint $table) {
26
+        Schema::create('TaskList', function(Blueprint $table) {
27 27
             $table->increments('id');
28 28
             $table->string('name', 50);
29 29
             $table->string('description', 250)->nullable();
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             $table->softDeletes();
32 32
         });
33 33
 
34
-        Schema::create('Task_TaskList', function (Blueprint $table) {
34
+        Schema::create('Task_TaskList', function(Blueprint $table) {
35 35
             $table->increments('id');
36 36
             $table->integer('task')->unsigned();
37 37
             $table->integer('tasklist')->unsigned();
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $table->foreign('tasklist')->references('id')->on('TaskList');
42 42
         });
43 43
 
44
-        Schema::create('Task_User', function (Blueprint $table) {
44
+        Schema::create('Task_User', function(Blueprint $table) {
45 45
             $table->increments('id');
46 46
             $table->integer('task')->unsigned();
47 47
             $table->integer('user')->unsigned();
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $table->foreign('user')->references('id')->on('User');
51 51
         });
52 52
 
53
-        Schema::create('TaskList_User', function (Blueprint $table) {
53
+        Schema::create('TaskList_User', function(Blueprint $table) {
54 54
             $table->increments('id');
55 55
             $table->integer('tasklist')->unsigned();
56 56
             $table->integer('user')->unsigned();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             $table->foreign('user')->references('id')->on('User');
60 60
         });
61 61
 
62
-        Schema::create('TaskLog', function (Blueprint $table) {
62
+        Schema::create('TaskLog', function(Blueprint $table) {
63 63
             $table->increments('id');
64 64
             $table->integer('task')->unsigned();
65 65
             $table->tinyInteger('status');
Please login to merge, or discard this patch.