feat: Implement addon functionality with schema updates, seeder, and administrator UI adjustments, including new favicons and a migration snapshot.

This commit is contained in:
pbao9
2026-02-13 10:07:24 +07:00
parent 64c3182b00
commit b127fa7c66
13 changed files with 4441 additions and 525 deletions
@@ -14,6 +14,7 @@ return new class extends Migration {
{
Schema::create('product_addon', function (Blueprint $table) {
$table->id();
$table->string('type_id', 50)->default('vps')->index();
$table->string('code', 50)->unique();
$table->string('name', 100);
$table->string('prefix', 50)->nullable();
@@ -24,6 +25,7 @@ return new class extends Migration {
$table->enum('input_type', ['number', 'slider', 'select'])
->default('number');
$table->boolean('status')->default(true);
$table->integer('sort_order')->default(0)->index();
$table->timestamps();
});
}