ldc-gen-game-web/database/migrations/2020_10_27_160038_create_discounts.php
2023-12-12 14:56:12 +01:00

34 lines
888 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('discounts', function (Blueprint $table) {
$table->id();
$table->string('link')->comment('Lien généré par le client MesBr pour accéder au Coupon');
$table->string('basket_id')->comment('Identifiant du panier MesBr (spécifique au client)');
$table->string('verification')->comment('Lien généré par le client MesBr pour ??');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('discounts');
}
};