mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +02:00
Bug fixes
This commit is contained in:
parent
b165f47763
commit
dc117dbaff
@ -0,0 +1,44 @@
|
||||
<?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');
|
||||
});
|
||||
}
|
||||
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class utils
|
||||
class Utils
|
||||
{
|
||||
public static function isRegistered()
|
||||
{
|
Loading…
Reference in New Issue
Block a user