feat: Implement product and product category management with dedicated CRUD operations, services, and repositories.
This commit is contained in:
@@ -15,10 +15,11 @@ return new class extends Migration {
|
||||
Schema::create('os', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('version', 100)->nullable();
|
||||
$table->foreignId('os_group_id')->constrained('os_group')->index();
|
||||
$table->unsignedBigInteger('os_group_id')->nullable();
|
||||
$table->string('template_id')->nullable();
|
||||
$table->tinyInteger('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->foreign('os_group_id', 'fk_os_group_id')->references('id')->on('os_group')->nullOnDelete();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user