condense backend migrations

This commit is contained in:
Yisroel Baum 2026-05-27 19:39:36 +03:00
parent 7c65c3b8c6
commit 4d05a1541e
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 10 additions and 63 deletions

View file

@ -35,6 +35,15 @@ intentionally omitted here - update this section as entities land.
`new Set(...)`) instead of creating them through their fake
repositories
## Migrations
- This project is not in production. By default, schema changes should update
the relevant create-table migration so migrations describe the current desired
schema from scratch.
- Do not add alter-table or data-backfill migrations unless the user explicitly
asks for production-style migration safety.
- Put seed data in seeders, not migrations.
## PHP rules
- Imports: always put `use` statements at the top of the file, never use