Pomelo.EntityFrameworkCore.MySql
Pomelo.EntityFrameworkCore.MySql copied to clipboard
Feature request: Provides a configurable way to modify the AUTO_INCREMENT option for primary keys
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