Update contrib/claude/coredata.md
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Signed-off-by: Émile Ré <nemile.re@gmail.com> Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -174,7 +174,7 @@ Each entity gets a unique `uint16` constant in `entity_type_reg.go`. **Never reu
|
|||||||
|
|
||||||
## Migrations
|
## Migrations
|
||||||
|
|
||||||
- Files in `pkg/coredata/migrations/` .
|
- Files in `pkg/coredata/migrations/` use timestamp naming: `YYYYMMDDTHHMMSSZ.sql` (UTC).
|
||||||
- Run `date -u +"%Y%m%dT%H%M%SZ.sql"` to get the name of the new migration file.
|
- Run `date -u +"%Y%m%dT%H%M%SZ.sql"` to get the name of the new migration file.
|
||||||
- One logical change per file.
|
- One logical change per file.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user