Migration
A file that changes the structure of the database, for example adds a column. Once applied, it isn’t modified anymore.
How it appears in the course
Never — the prohibitions. Migrations that have already been published are not modified. The .env file (which holds passwords) is never saved in git.
for p in ... goes one by one through the protected list: .env (where the passwords are), package-lock.json, the .git/ folder (the project’s history), the migrations/ folder (changes to the database).
Learn Claude Code from zero, in plain English
12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.