~/talk

Using migrations and fixtures

Talkat phpDay 2019 · 2019-05-10..05-11· [php, databases]

Uses Symfony and Doctrine to codify schema changes as timestamped migration files and load small, meaningful datasets instead of multi‑GB dumps. Shows Doctrine migrations tied to Postgres, the risk of platform-specific SQL, the habit of deploying migrations before features instead of rolling back, and Laravel’s separate DSL for migrations. Demonstrates fixture references (e.g., PHP Day 2019 Verona conference) and a Makefile that drops, migrates and loads fixtures in seconds for repeatable local setups.

AI-written summary · about

  1. 0:00Intro
  2. 2:40Migrations
  3. 4:30Doctrine
  4. 6:00Running migrations
  5. 7:40Never roll back
  6. 11:50Deploying migrations
  7. 13:00Deploying large datasets
  8. 14:20Starting from scratch
  9. 15:35Fixtures
  10. 17:30Communication
  11. 18:40Prayer
  12. 19:40Using migrations
  13. 24:10Makefile
  14. 25:25Fixture
  15. 27:33Adding a conference
  16. 29:43Adding city fixtures
  17. 31:17Adding city and conference fixtures
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.