mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix formatting issues and create update migration
This commit is contained in:
@ -26,7 +26,7 @@ class AddOverdueToInvoicesTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('invoices', function (Blueprint $table) {
|
||||
$table->dropForeign(['overdue']);
|
||||
$table->dropForeign(['overdue']);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
27
database/migrations/2022_03_03_060121_crater_version_605.php
Normal file
27
database/migrations/2022_03_03_060121_crater_version_605.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
use Crater\Models\Setting;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CraterVersion605 extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Setting::setSetting('version', '6.0.5');
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user