79086479

Date: 2024-10-14 14:07:28
Score: 0.5
Natty:
Report link

The format flag expects a golang time format.

For example

migrate create -ext sql -dir db/migrations -format 20060102150405 initial_blank

creates migration files

...\db\migrations\20241014135924_initial_blank.up.sql
...\db\migrations\20241014135924_initial_blank.down.sql

These are in UTC time.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: vbp13