From c1029dfb69f5b58ee774803208c5b16221bb54d7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 May 2016 17:37:32 +0300 Subject: [PATCH] Fix for rollback --- database/migrations/2014_05_17_175626_add_quotes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/2014_05_17_175626_add_quotes.php b/database/migrations/2014_05_17_175626_add_quotes.php index 96ae916caf..332d629561 100644 --- a/database/migrations/2014_05_17_175626_add_quotes.php +++ b/database/migrations/2014_05_17_175626_add_quotes.php @@ -14,9 +14,9 @@ class AddQuotes extends Migration { { Schema::table('invoices', function($table) { - $table->boolean('is_quote')->default(0); + $table->boolean('is_quote')->default(0); $table->unsignedInteger('quote_id')->nullable(); - $table->unsignedInteger('quote_invoice_id')->nullable(); + $table->unsignedInteger('quote_invoice_id')->nullable(); }); } @@ -29,7 +29,7 @@ class AddQuotes extends Migration { { Schema::table('invoices', function($table) { - $table->dropColumn('is_quote'); + $table->dropColumn('invoice_type_id'); $table->dropColumn('quote_id'); $table->dropColumn('quote_invoice_id'); });