invoiceninja/database/migrations/2015_02_27_081836_add_invoice_footer.php
Jeramy Simpson 04c392136e Add Files
2015-03-17 07:45:25 +10:00

45 lines
822 B
PHP

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddInvoiceFooter extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('accounts', function($table)
{
$table->text('invoice_footer')->nullable();
});
Schema::table('invoices', function($table)
{
$table->text('invoice_footer')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('accounts', function($table)
{
$table->dropColumn('invoice_footer');
});
Schema::table('invoices', function($table)
{
$table->dropColumn('invoice_footer');
});
}
}