Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa777d673f | ||
|
|
8570252db5 |
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.2.0');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user