Releases: SaliBhdr/typhoon-iran-cities
Releases · SaliBhdr/typhoon-iran-cities
Status Bug FIx
Unite regions in one table
- unite regions into one table
- remove extra redundant import commands
- all data can import with just one
iran:import
command - add short_code attribute to all tables
- faster data import using bulk import
get permission before overwriting the files
- add get permission before overwriting the Models
- add get permission before overwriting the Migrations
Artisan call bug fix for Laravel version below 5.6
- Fix Artisan call for Laravel version below 5.6
- Fix readme
- Some code refactoring
Change model publish method and some bug fixes
- Models now are extended from base models of Iran cities package
- Remove DB statement in migration to fix table prefix problem
HasStatus
trait is not optional anymore and available in all models by default
Add new commands and some bug fixes
- add
iran:init
command to do all the initialization process easier and step by step - update readme for new usage
- Fix relation method of models
New Regions and Administrative Divisions
- New regions and administrative divisions
- Add publish command instead of Laravel's Built-in
vendor:publish
command - Add new migrations and models for new regions
- Add selective region import, based on the requirement of the project
- Add stubs for models and migrations copy
Laravel 8 compatible
- Models now will be copied to App/Models in Laravel 8
Add new fetching helper methods to models
- add new helper methods to the Province model
- add new helper methods to the County model
- add new helper methods to the City model
- update readme documentation for new helper methods usages
Add status field
- Add the status field to DB to be able to activate and deactivate records
- Add helper methods in models to managing the records
- Renaming import commands
- Allow to import provinces, counties, and cities separately
- Add timestamps to table