mirage-sql/mirage

Add convention "id" for field as PK.

Opened this issue · 0 comments

Add the convention that "id" for fields are treated as primary keys even if they are not annotated, and there's no other annotated field.

The generation type should be that of the default for the selected Dialect.