Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update some Badini keywords #32

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MuslimData.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'MuslimData'
s.version = '2.2.1'
s.version = '2.2.2'
s.summary = 'Islamic library (Prayer Times [fixed and calculated], Names of Allah, and Azkars).'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion Sources/MuslimData/DB Helper/DBHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Foundation
class DBHelper {
// MARK: - Properties

private let dbName = "muslim_db_v2.3.1"
private let dbName = "muslim_db_v2.3.2"
var dbPool: DatabasePool?
static let shared = DBHelper()

Expand Down
65 changes: 39 additions & 26 deletions Sources/MuslimData/Resources/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Muslim Data DB Change Log
All notable changes to the MuslimData database will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.3.2] - 2024-12-06
Fix some Kurdish Badini translation.

### Fixed

- Fix some Kurdish Badini translation in Azkars section.

## [2.3.1] - 2024-11-27
Fix some Kurdish Badini translation.

Expand Down Expand Up @@ -46,18 +53,18 @@ Refactor database tables to improve table normalization and handle city mapper i

### Added
- `country_id` as a foreign key added to the `location` (or `city`) table to make a relation with `country` table.
- `prayer_dependent_id` field added to the `location` table to handle city mapper in the database level.
- `prayer_dependent_id` field added to the `location` table to handle city mapper in the database level.
- `location_id` as a foreign key added to the `prayer_time` table to make a relation with `location` table.

### Changed
- `city` table name has been renamed to `location`.
- `city` table name has been renamed to `location`.
- `country_code` has been removed in the `location` table and the `country_id` field is used for the relationship between `location` and `country` tables.
- The `city` field in the `location` table has been renamed to `name` as it holds different types of locations like governorate, city, sub-city, village, etc.
- The `city` field in the `location` table has been renamed to `name` as it holds different types of locations like governorate, city, sub-city, village, etc.
- `country` table fields have been refactored by removing the country suffix before the fields.
- `country_code` and `city` fields have been removed in the `prayer_time` table and used `location_id` to make the relationship between `prayer_time` and `location` tables.
- Database indices have been refactored as shown blow:
- `country` table has `code_index` for indexing `code` column.
- `location` table has has two indices as listed below:
- Database indices have been refactored as shown blow:
- `country` table has `code_index` for indexing `code` column.
- `location` table has has two indices as listed below:
- `location_country_id_index` for indexing `country_id` column.
- `location_prayer_dependent_id_index` for indexing `prayer_dependent_id` column.
- `location_lat_long_index` for indexing `latitude` and `longitude` columns.
Expand All @@ -67,66 +74,72 @@ Refactor database tables to improve table normalization and handle city mapper i

## [1.5.0] - 2024-03-04

Update Chamchamal prayer times.
Update Chamchamal prayer times.

### Changed

- Chamchamal, IQ prayer times have been updated.

## [1.4.2] - 2024-03-01

Bug fixes.

### Fixed
- Fix Sanandaj, IR prayer time at 29 Feb which was added as 02-01.

- Fix Sanandaj, IR prayer time at 29 Feb which was added as 02-01.

## [1.4.1] - 2024-02-28

Bug fixes.

### Fixed
- Fix Chamchamal, IQ prayer time at 29 Feb which was added as 02-01.

- Fix Chamchamal, IQ prayer time at 29 Feb which was added as 02-01.

## [1.4.0] - 2024-02-18

Update Sulaymaniyah governorate prayer times.
Update Sulaymaniyah governorate prayer times.

### Added
- Kalar, IQ prayer times have been added as a separate list with old Suli data.
- Hero, IQ added to the city table.

- Kalar, IQ prayer times have been added as a separate list with old Suli data.
- Hero, IQ added to the city table.
- Bngrd, IQ added to the city table.
- Dokan, IQ prayer times have been added to the prayer time table.
- Khanaqin, IQ prayer times have been added to the prayer time table.
- Penjwen, IQ prayer times have been added to the prayer time table.
- Gokhlan, IQ prayer times have been added to the prayer time table.

### Changed

- Sulaymaniyah, IQ prayer times have been updated.
- Qaladiza, IQ prayer times have been updated.
- Qaladiza, IQ prayer times have been updated.
- Qadir Karam removed from fixed prayer times.
- Ranya, IQ prayer times have been updated.
- Darbandikhan, IQ prayer times have been udpated.

## [1.3.3] - 2024-02-17
Add Qasre location to the MuslimData library.

Add Qasre location to the MuslimData library.

### Added
- Add Qasre location to the city table.

- Add Qasre location to the city table.
- Add Qasre prayer times to the prayer time table.

## [Sample Data] - yyyy-mm-dd

Here we write upgrading notes for brands. It's a team effort to make them as
straightforward as possible.

### Added
-
-
-

### Changed
-
-

### Fixed
-
-
Binary file not shown.