Improve installed database detection

This commit is contained in:
Darko Gjorgjijoski
2024-02-04 19:37:09 +01:00
parent 8981066b27
commit aa68332cf6
13 changed files with 161 additions and 49 deletions

View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use InvoiceShelf\Models\Setting;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Setting::setSetting('version', '1.0.0');
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};