0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/alterations/utils/README.md
2024-01-11 14:38:37 +08:00

9 lines
457 B
Markdown

# Alteration utils
This directory contains utilities for database alteration scripts.
Due to the nature of alteration, all utility functions should be maintained in an immutable way. This means when a function needs to be changed, a new file should be created with the following name format:
`<timestamp>-<function-or-purpose>.js`
The timestamp should be in the format of epoch time in seconds. The original file should be kept for historical purposes.