New voucher CIEFPC30 setup with new business logic - Initial Commit

This commit is contained in:
Dillon Ngo
2024-12-09 05:23:53 +08:00
parent 0824a45b41
commit 0ab5ed76a5
29 changed files with 401 additions and 104 deletions
@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddDeletedAtToVoucherRedemptionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('voucher_redemptions', function (Blueprint $table) {
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('voucher_redemptions', function (Blueprint $table) {
$table->dropSoftDeletes();
});
}
}