🔥 **Cleanup:** Removed BookCase and OrangePill models, factories, migrations, and related references. Added tests for new service and meetup creation flows. Updated PHPUnit settings and browser-specific configurations.

This commit is contained in:
BT
2026-05-02 22:00:26 +01:00
parent 63aed880e1
commit 04e3e30fcf
54 changed files with 3440 additions and 298 deletions
@@ -4,7 +4,8 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
return new class extends Migration
{
/**
* Run the migrations.
*/
@@ -12,8 +13,9 @@ return new class extends Migration {
{
Schema::table('users', function (Blueprint $table) {
$table->json('lnbits')
->default('{"read_key":null,"url":null,"wallet_id":null}')
->change();
->nullable()
->default('{"read_key":null,"url":null,"wallet_id":null}')
->change();
});
}
@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
DB::table('media')
->whereIn('model_type', [
'App\\Models\\OrangePill',
'App\\Models\\BookCase',
])
->delete();
Schema::dropIfExists('orange_pills');
Schema::dropIfExists('book_cases');
}
public function down(): void
{
throw new RuntimeException(
'OrangePill and BookCase features were removed permanently; this migration is not reversible.'
);
}
};