Completed
Push — master ( 8c1b4a...207227 )
by Renato
17:33 queued 12:31
created
database/migrations/2016_11_21_160842_create_favorites_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::create('favorites', function (Blueprint $table) {
13
+        Schema::create('favorites', function(Blueprint $table) {
14 14
             $table->increments('id');
15 15
             $table->string('favoriteable_type', 45)->nullable();
16 16
             $table->integer('favoriteable_id')->unsigned()->nullable();
Please login to merge, or discard this patch.
migrations/2016_11_21_160844_add_foreign_keys_to_pull_requests_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::table('pull_requests', function (Blueprint $table) {
13
+        Schema::table('pull_requests', function(Blueprint $table) {
14 14
             $table->foreign('base_branch_id', 'fk_pull_requests_base_branch_id')->references('id')->on('branches')->onUpdate('NO ACTION')->onDelete('NO ACTION');
15 15
             $table->foreign('head_branch_id', 'fk_pull_requests_head_branch_id')->references('id')->on('branches')->onUpdate('NO ACTION')->onDelete('NO ACTION');
16 16
         });
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function down()
23 23
     {
24
-        Schema::table('pull_requests', function (Blueprint $table) {
24
+        Schema::table('pull_requests', function(Blueprint $table) {
25 25
             $table->dropForeign('fk_pull_requests_base_branch_id');
26 26
             $table->dropForeign('fk_pull_requests_head_branch_id');
27 27
         });
Please login to merge, or discard this patch.
migrations/2016_11_21_160844_add_foreign_keys_to_favorites_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::table('favorites', function (Blueprint $table) {
13
+        Schema::table('favorites', function(Blueprint $table) {
14 14
             $table->foreign('user_id', 'fk_favorites_user_id')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION');
15 15
         });
16 16
     }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function down()
22 22
     {
23
-        Schema::table('favorites', function (Blueprint $table) {
23
+        Schema::table('favorites', function(Blueprint $table) {
24 24
             $table->dropForeign('fk_favorites_user_id');
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
database/migrations/2016_11_21_160842_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::create('users', function (Blueprint $table) {
13
+        Schema::create('users', function(Blueprint $table) {
14 14
             $table->increments('id');
15 15
             $table->bigInteger('github_id')->nullable()->unique('github_id_UNIQUE');
16 16
             $table->string('username')->nullable()->index('users_username');
Please login to merge, or discard this patch.
database/migrations/2016_11_21_160842_create_labelables_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::create('labelables', function (Blueprint $table) {
13
+        Schema::create('labelables', function(Blueprint $table) {
14 14
             $table->increments('id');
15 15
             $table->integer('user_id')->unsigned()->nullable()->index('fk_labelables_user_id_idx');
16 16
             $table->integer('label_id')->unsigned()->nullable()->index('fk_labelables_label_id_idx');
Please login to merge, or discard this patch.
database/migrations/2016_11_21_160844_add_foreign_keys_to_sprints_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::table('sprints', function (Blueprint $table) {
13
+        Schema::table('sprints', function(Blueprint $table) {
14 14
             $table->foreign('config_status_id', 'fk_sprints_config_status_id')->references('id')->on('config_statuses')->onUpdate('NO ACTION')->onDelete('NO ACTION');
15 15
             $table->foreign('product_backlog_id', 'fk_sprints_product_backlog_id')->references('id')->on('product_backlogs')->onUpdate('NO ACTION')->onDelete('NO ACTION');
16 16
             $table->foreign('user_id', 'fk_sprints_user_id')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION');
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function down()
24 24
     {
25
-        Schema::table('sprints', function (Blueprint $table) {
25
+        Schema::table('sprints', function(Blueprint $table) {
26 26
             $table->dropForeign('fk_sprints_config_status_id');
27 27
             $table->dropForeign('fk_sprints_product_backlog_id');
28 28
             $table->dropForeign('fk_sprints_user_id');
Please login to merge, or discard this patch.
database/migrations/2016_11_21_160842_create_comments_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::create('comments', function (Blueprint $table) {
13
+        Schema::create('comments', function(Blueprint $table) {
14 14
             $table->increments('id');
15 15
             $table->string('commentable_type', 45)->nullable()->index('commentable_fulltext');
16 16
             $table->integer('commentable_id')->unsigned()->nullable();
Please login to merge, or discard this patch.
database/migrations/2016_11_21_160842_create_product_backlogs_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::create('product_backlogs', function (Blueprint $table) {
13
+        Schema::create('product_backlogs', function(Blueprint $table) {
14 14
             $table->increments('id');
15 15
             $table->integer('user_id')->unsigned()->nullable()->index('fk_product_backlogs_user_id_idx');
16 16
             $table->bigInteger('github_id')->unsigned()->nullable()->unique('github_id');
Please login to merge, or discard this patch.
migrations/2016_11_26_162244_add_foreign_keys_to_statuses_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::table('statuses', function (Blueprint $table) {
13
+        Schema::table('statuses', function(Blueprint $table) {
14 14
             $table->foreign('config_status_id', 'fk_statuses_config_status_id')->references('id')->on('config_statuses')->onUpdate('NO ACTION')->onDelete('NO ACTION');
15 15
             $table->foreign('user_id', 'fk_statuses_users_id')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION');
16 16
         });
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function down()
23 23
     {
24
-        Schema::table('statuses', function (Blueprint $table) {
24
+        Schema::table('statuses', function(Blueprint $table) {
25 25
             $table->dropForeign('fk_statuses_config_status_id');
26 26
             $table->dropForeign('fk_statuses_users_id');
27 27
         });
Please login to merge, or discard this patch.