sea-orm icon indicating copy to clipboard operation
sea-orm copied to clipboard

[FeatureRequest] An option to generate migration file based on UTC time instead of LocalTime

Open Animeshz opened this issue 3 years ago • 2 comments

Motivation

The ordering of migrations may clutter, if people from different timezones are contributing to the same project.

A UTC universal time may be able to fix this.

Proposed Solutions

While using the LocalTime we could change the timezone to +0:00 and then start formatting it to file name.

SystemTime and Instant from stdlib donot give easy access to format them to desired format atm.

Additional Information

Originated from discussion #935.

Animeshz avatar Aug 08 '22 03:08 Animeshz

Hey @Animeshz, would you like to contribute? hahaa

billy1624 avatar Aug 08 '22 07:08 billy1624

Ya, sure!

Animeshz avatar Aug 08 '22 08:08 Animeshz