Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
database/migrations/2016_02_16_140454_add_foreign_keys_to_emails_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table('emails', function (Blueprint $table) {
15
+        Schema::table('emails', function(Blueprint $table) {
16 16
             $table->foreign('department', 'emails_ibfk_1')->references('id')->on('department')->onUpdate('NO ACTION')->onDelete('RESTRICT');
17 17
             $table->foreign('priority', 'emails_ibfk_2')->references('priority_id')->on('ticket_priority')->onUpdate('NO ACTION')->onDelete('RESTRICT');
18 18
             $table->foreign('help_topic', 'emails_ibfk_3')->references('id')->on('help_topic')->onUpdate('NO ACTION')->onDelete('RESTRICT');
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function down()
28 28
     {
29
-        Schema::table('emails', function (Blueprint $table) {
29
+        Schema::table('emails', function(Blueprint $table) {
30 30
             $table->dropForeign('emails_ibfk_1');
31 31
             $table->dropForeign('emails_ibfk_2');
32 32
             $table->dropForeign('emails_ibfk_3');
Please login to merge, or discard this patch.
database/migrations/2016_04_18_115900_create_workflow_rule_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('workflow_rules', function (Blueprint $table) {
15
+        Schema::create('workflow_rules', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('workflow_id')->unsigned();
18 18
             $table->string('matching_criteria');
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
             $table->timestamps();
23 23
         });
24 24
 
25
-        Schema::table('workflow_rules', function (Blueprint $table) {
25
+        Schema::table('workflow_rules', function(Blueprint $table) {
26 26
             $table->foreign('workflow_id', 'workflow_rules_1')->references('id')->on('workflow_name')->onUpdate('NO ACTION')->onDelete('RESTRICT');
27 27
         });
28 28
     }
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
          */
35 35
         public function down()
36 36
         {
37
-            Schema::table('workflow_rules', function (Blueprint $table) {
37
+            Schema::table('workflow_rules', function(Blueprint $table) {
38 38
                 $table->dropForeign('workflow_rules_1');
39 39
             });
40 40
             Schema::drop('workflow_rules');
Please login to merge, or discard this patch.
database/migrations/2016_02_16_140450_create_ticket_source_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('ticket_source', function (Blueprint $table) {
15
+        Schema::create('ticket_source', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('value');
Please login to merge, or discard this patch.
migrations/2016_02_16_140450_create_settings_auto_response_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('settings_auto_response', function (Blueprint $table) {
15
+        Schema::create('settings_auto_response', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->boolean('new_ticket');
18 18
             $table->boolean('agent_new_ticket');
Please login to merge, or discard this patch.
database/migrations/2016_02_16_140450_create_template_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('template', function (Blueprint $table) {
15
+        Schema::create('template', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->boolean('status');
Please login to merge, or discard this patch.
database/migrations/2016_02_16_140450_create_kb_article_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('kb_article', function (Blueprint $table) {
15
+        Schema::create('kb_article', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->text('name');
18 18
             $table->string('slug');
Please login to merge, or discard this patch.
migrations/2016_02_16_140450_create_settings_alert_notice_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('settings_alert_notice', function (Blueprint $table) {
15
+        Schema::create('settings_alert_notice', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->boolean('ticket_status');
18 18
             $table->boolean('ticket_admin_email');
Please login to merge, or discard this patch.
database/migrations/2016_02_16_140450_create_canned_response_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('canned_response', function (Blueprint $table) {
15
+        Schema::create('canned_response', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('user_id')->unsigned()->index('user_id');
18 18
             $table->string('title');
Please login to merge, or discard this patch.
2016_02_16_140454_add_foreign_keys_to_ticket_attachment_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table('ticket_attachment', function (Blueprint $table) {
15
+        Schema::table('ticket_attachment', function(Blueprint $table) {
16 16
             $table->foreign('thread_id', 'ticket_attachment_ibfk_1')->references('id')->on('ticket_thread')->onUpdate('NO ACTION')->onDelete('RESTRICT');
17 17
         });
18 18
     }
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function down()
26 26
     {
27
-        Schema::table('ticket_attachment', function (Blueprint $table) {
27
+        Schema::table('ticket_attachment', function(Blueprint $table) {
28 28
             $table->dropForeign('ticket_attachment_ibfk_1');
29 29
         });
30 30
     }
Please login to merge, or discard this patch.