Pennant: all feature flags were replaced by BillingCycle, so remove the package (composer), the now-empty app/Features discovery, the pennant-development skill, and replace the create_features_table migration with a drop_features_table. Timezone: the registration flow collected a user timezone (seeder, request validation, hidden field) but no timezone column ever existed and CreateUser discarded it. Remove the dead handling, the orphaned Timezone rule, and the tests that covered the now-removed validation.
32 lines
689 B
PHP
32 lines
689 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
return new class extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*/
|
|
public function up(): void
|
|
{
|
|
Schema::dropIfExists('features');
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*/
|
|
public function down(): void
|
|
{
|
|
Schema::create('features', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->string('name');
|
|
$table->string('scope');
|
|
$table->text('value');
|
|
$table->timestamps();
|
|
|
|
$table->unique(['name', 'scope']);
|
|
});
|
|
}
|
|
};
|