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

Aperta
#3,515 2 commenti 14 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp, postgresql
Ambito
databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C#
Stelle
1.8k
Fork
268
Merge medio
2h 35m
PR unite (30g)
136

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di npgsql/efcore.pg

Tutte le issue di npgsql/efcore.pg

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.