fix(outlet): merubah panjang data landmark dari 20 menjadi 30

This commit is contained in:
Yoga Pangestu 2025-09-29 20:41:25 +07:00
parent efb2cf8635
commit 0088761eb8
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public function rules(): array
'name' => ['required', 'string', 'max:100'],
'phone_number' => ['required', 'string', new PhoneNumber],
'address' => ['required', 'string'],
'landmark' => ['required', 'string', 'max:20'],
'landmark' => ['required', 'string', 'max:30'],
'maps_url' => [
'nullable',
'string',

View File

@ -18,7 +18,7 @@ public function up(): void
$table->string('slug', 120);
$table->string('phone_number', 20);
$table->text('address');
$table->string('landmark', 20);
$table->string('landmark', 30);
$table->text('maps_url')->nullable();
$table->enum('status', [OutletStatus::values()])->default(OutletStatus::OPERATIONAL)->comment(OutletStatus::comment());
$table->date('opened_date');