feat(Basicdata): Update 'is_dalam_kota' column and add new branches #1

Merged
sholahuddin merged 1 commits from shola into master 2025-12-08 17:28:20 +07:00
Collaborator
  • Update 'is_dalam_kota' to true for existing branches based on suffix code
  • Set 'is_dalam_kota' to false for branches not in the list
  • Add new branches (ID0012005 - KORPORASI, ID0010172 - AMBON TUAL MALUKU)
  • Seeder is idempotent and can be rerun safely

run this command:

php artisan migrate --path=Modules/Basicdata/Database/Migrations/2025_12_08_071323_add_is_dalam_kota_to_branches_table.php

php artisan module:seed Basicdata --class="UpdateBranchesIsDalamKotaSeeder"

- Update 'is_dalam_kota' to true for existing branches based on suffix code - Set 'is_dalam_kota' to false for branches not in the list - Add new branches (ID0012005 - KORPORASI, ID0010172 - AMBON TUAL MALUKU) - Seeder is idempotent and can be rerun safely run this command: php artisan migrate --path=Modules/Basicdata/Database/Migrations/2025_12_08_071323_add_is_dalam_kota_to_branches_table.php php artisan module:seed Basicdata --class="UpdateBranchesIsDalamKotaSeeder"
sholahuddin added 1 commit 2025-12-08 17:28:07 +07:00
- Update 'is_dalam_kota' to true for existing branches based on suffix code
- Set 'is_dalam_kota' to false for branches not in the list
- Add new branches (ID0012005 - KORPORASI, ID0010172 - AMBON TUAL MALUKU)
- Seeder is idempotent and can be rerun safely

run this command:
php artisan module:seed Basicdata --class="UpdateBranchesIsDalamKotaSeeder"

php artisan module:seed --class="Modules\\Basicdata\\Database\\Seeders\\UpdateBranchesIsDalamKotaSeeder"
sholahuddin merged commit 9845b01b0e into master 2025-12-08 17:28:20 +07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: daengdeni/basicdata#1