0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/schemas/alterations/utils/README.md

10 lines
457 B
Markdown
Raw Normal View History

# 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.