autorisation théorique des stocks négatifs

This commit is contained in:
Olivier Legat 2021-04-19 16:10:11 +02:00
parent b2eb3a4bc4
commit f8faa06870

View file

@ -14,7 +14,7 @@ class ChangeOptionalFieldsInProductsTable extends Migration
public function up()
{
Schema::table('products', function (Blueprint $table) {
$table->unsignedBigInteger('stock')->nullable()->change();
$table->integer('stock')->nullable()->change();
$table->string('reference')->nullable()->change();
});
}