aesmail / aesmail/kaffy

[FEATURE-REQUEST] Support for Repos using MySQL

Đang mở
#193 2 bình luận 3 reaction 1 người được giao Được @aesmail nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Elixir
Star
1.4k
Fork
171
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the problem you're proposing to solve**
When using Kaffy on a project with a repo using the MySQL database drivers, everything related to schemas breaks, as MySQL does not support `ILIKE`, only `LIKE`.

**Describe the solution you'd like**
Depending on the repository database driver, `LIKE` (MySQL) or `ILIKE` (PostgreSQL) should be used.

**Describe alternatives you've considered**
none

**Additional context**
I forked kaffy and did the change manually for testing [in this commit](https://github.com/cybrox/kaffy/commit/d86b5f5571e174a67b919b2637727e222f902bff) and it works fine. `ILIKE` is only used in this one place.

I could submit a PR for a dynamic approach based on the repository driver but I think this would collide with https://github.com/aesmail/kaffy/pull/180. Guess it would be best to complete that PR first :)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.