feat: Implement addon functionality with schema updates, seeder, and administrator UI adjustments, including new favicons and a migration snapshot.
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user