Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Feature request: Provides a configurable way to modify the AUTO_INCREMENT option for primary keys

Open buzzers opened this issue 3 years ago • 0 comments

The AUTO_INCREMENT option for the primary key is currently hardcoded in the SQL generated by the migration. Would like to be able to provide a configurable way, e.g. via the attribute CustomDatabaseGenerated("AUTO_RANDOM"), to replace the hardcoded AUTO_INCREMENT option.

https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/1702

buzzers avatar Sep 07 '22 16:09 buzzers