mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +00:00
Add missing migration
This commit is contained in:
23
database/migrations/2024_05_04_110000_update_version_121.php
Normal file
23
database/migrations/2024_05_04_110000_update_version_121.php
Normal 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.2.1');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Setting::setSetting('version', '1.1.0');
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user