mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for rollback
This commit is contained in:
parent
2f1d53d9b3
commit
c1029dfb69
@ -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');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user