Remove booking pricing and fix venue image delivery

This commit is contained in:
Abdul Kareem
2026-02-22 21:13:34 +03:00
parent 090427cf2c
commit 23fb3a5d92
4 changed files with 145 additions and 70 deletions
@@ -10,7 +10,8 @@ return new class extends Migration
{
Schema::create('pricing_rules', function (Blueprint $table) {
$table->id();
$table->enum('scope', ['global', 'type', 'venue']);
// Keep enum values aligned with the PostgreSQL schema (`pricing_scope_enum`).
$table->enum('scope', ['global_type', 'venue']);
$table->string('venue_type')->nullable();
$table->foreignId('venue_id')->nullable()->constrained('venues')->nullOnDelete();
$table->decimal('price_per_person', 10, 2);