add products-subranges relation
This commit is contained in:
parent
7cf4c90176
commit
bc7a27534c
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ class CreateProductsTable extends Migration
|
|||
$table->boolean('is_vip')->comment('Est un produit vip ou non');
|
||||
$table->boolean('is_egalim')->comment('Est un produit egalim ou non');
|
||||
$table->boolean('status')->comment('Est un produit publié ou non');
|
||||
$table->foreignId('subrange_id')->references('id')->on('subranges');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue