Cannot convert annotation of "TsVectorProperties" to snake case for NpgsqlTsVector

Đang mở
#3,515 2 bình luận 14 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp, postgresql
Lĩnh vực
databases

Hướng nghiên cứu

The issue does not name any files or tests. Start by reviewing the SearchVector annotation, the reported migration, and the UseSnakeCaseNamingConvention behavior shown in the issue; done means the annotation references the column using its snake-case name without requiring an explicit uppercase name.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello, We are facing an issue where we are unable to convert the SearchVector annotation for NpgsqlTsVector to snake case.
Image
We have enabled the default conversion of all tables and columns to lowercase (UseSnakeCaseNamingConvention), but when building the migration, the annotation is not converted to lowercase, so we had to explicitly specify uppercase for the SearchVector column so that the annotation references an existing column.
Image
Image
Can you suggest how to resolve this issue and convert everything to snake case?

ps
explicitly specifying a lowercase column name for a column via attribute or fluent api does not help

Image

Ngôn ngữ chính
C#
Star
1.8k
Fork
268
Merge trung bình
2 giờ 35 phút
Pull request đã merge (30 ngày)
136

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của npgsql/efcore.pg

Tất cả issue của npgsql/efcore.pg

Issue tương tự

Thêm issue về C#

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.