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
2024-03-16 19:04:55 +08:00
..
1704934999-tables.ts refactor: use silverhand slonik 2024-03-16 19:04:55 +08:00
README.md

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.