Completed
Push — master ( 5a17b7...592d83 )
by Ariel
12:12
created
migrations/2016_02_01_000000_create_categories_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('categories', function (Blueprint $table) {
15
+        Schema::create('categories', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('slug')->unique();
18 18
             $table->string('name');
Please login to merge, or discard this patch.
migrations/2016_02_01_000000_create_users_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('users', function (Blueprint $table) {
15
+        Schema::create('users', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('username'); // Long enough as to hold an md5
18 18
             $table->string('name');
Please login to merge, or discard this patch.
migrations/2016_02_01_000001_create_domains_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('domains', function (Blueprint $table) {
15
+        Schema::create('domains', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('slug', 50)->unique();
18 18
             $table->integer('owner_id')->unsigned();
Please login to merge, or discard this patch.
migrations/2016_02_01_000002_create_businesses_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('businesses', function (Blueprint $table) {
15
+        Schema::create('businesses', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('category_id')->unsigned();
18 18
             $table->foreign('category_id')->references('id')->on('categories');
Please login to merge, or discard this patch.
migrations/2016_02_01_000003_create_business_user_pivot_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('business_user', function (Blueprint $table) {
15
+        Schema::create('business_user', function(Blueprint $table) {
16 16
             $table->integer('business_id')->unsigned()->index();
17 17
             $table->foreign('business_id')->references('id')->on('businesses')->onDelete('cascade');
18 18
             $table->integer('user_id')->unsigned()->index();
Please login to merge, or discard this patch.
migrations/2016_02_01_000004_create_service_types_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('service_types', function ($table) {
14
+        Schema::create('service_types', function($table) {
15 15
             $table->increments('id');
16 16
             $table->integer('business_id')->unsigned();
17 17
             $table->foreign('business_id')->references('id')->on('businesses');
Please login to merge, or discard this patch.
migrations/2016_02_01_000005_create_services_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('services', function (Blueprint $table) {
15
+        Schema::create('services', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('business_id')->unsigned();
18 18
             $table->foreign('business_id')->references('id')->on('businesses')->onDelete('cascade');
Please login to merge, or discard this patch.
migrations/2016_02_01_000006_create_contacts_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('contacts', function (Blueprint $table) {
15
+        Schema::create('contacts', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('user_id')->unsigned()->nullable();
18 18
             $table->foreign('user_id')->references('id')->on('users');
Please login to merge, or discard this patch.
migrations/2016_02_01_000007_create_business_contact_pivot_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('business_contact', function (Blueprint $table) {
15
+        Schema::create('business_contact', function(Blueprint $table) {
16 16
             $table->integer('business_id')->unsigned()->index();
17 17
             $table->foreign('business_id')->references('id')->on('businesses')->onDelete('cascade');
18 18
             $table->integer('contact_id')->unsigned()->index();
Please login to merge, or discard this patch.