Open gscpw opened 1 year ago
Hello, any progress? I have the same problem
No progress as of now - I'll probably concentrate on the plugin a bit later in the release, before 8.0 is released.
This seems to be specifically a problem when the table name is derived from a DbSet property name; otherwise, if there's no DbSet property, the table name is truncated properly (property names are also truncated).
@AndriySvyryd is it safe to assume that this is a conflict/ordering issue between the convention that sets the table name from the DbSet and the naming rewriting convention?
There's definitely a conflict, but I couldn't say where the fix for it should be without investigating the root cause.
I use
MaxIdentifierLength
limit to support Oracle:However, it seems setting the snake_case naming convention ignores the max identifier length and instead generates full-length identifiers. If I do not add snake_case naming convention, the identifiers are limited to 30 chars and are protected against conflict by appending
~
,~1
,~2
, etc.