3 ms·
> Literal improvements will be a godsend for writing database migrations. Can you elaborate on this; both how it helps and why you're using C# for database mig
by daigoba66 10y ago
> Literal improvements will be a godsend for writing database migrations.
Can you elaborate on this; both how it helps and why you're using C# for database migrations?
- flukus 10y agoMy go to migrator is fluent migrator (https://github.com/schambers/fluentmigrator https://github.com/schambers/fluentmigrator) or flywaydb if anyone objects to the c# (https://flywaydb.org/ https://flywaydb.org/). Each migration gets a number, typically time encoded. If I was to write one now it would have the attribute [Migration(201608251157)]. With the new literals this will become [Migration(20160825_1157)], amazing how much readability a single underscore can make.