My patch to Doctrine was taken into upstream! BWAHAHAHAHA!!!111
После удаления из схемы класса модели не забудьте удалить
- этот и сгенеренные на его основе классы из
lib/(model|filter|form), - а также и их базовые классы.
Если не удалить 1. при rebuild’е таблицы в БД будут пересоздаваться, несмотря на изменения в схеме; а если не удалить 2. rebuild будет падать со словами class not found.
P.S. Тут в symfony 1.3 whatsnew пишут, что грядет избавление от этого гемора:
You can now manually clean out the generated files related to a model by using the doctrine:delete-model-files task.
Отрадно видеть, что и говорить :)
-
Tip of the week: Highlighting your moderators
Each publisher on Disqus today can apply updates to the appearance of their embed theme, with some...
-
Ира, ты не должна звонить мужчинам первая! - Почему? - Ты ведь проститутка!
-
-
git vs. hg (Mercurial) / 対決 git vs. hg (Mercurial)
I confess that I used to use RCS, which was the most infamous version control system (VCS).
Once you start using RCS, you must “check out” your code or document and it is locked until you “check in” it. Checking in/out is not very harmful, but the locking causes serious disaster. Once someone, possibly alias of you, locked the code by checking out it, there is no way for other guys, possibly another alias of you, to edit it.
-
программист, пашущий поле
Шэрлок Холмси доктор Ватсон летели на воздушном шаре и
заблудились. Они снизились и заметил на земле... -
Управление людьми
Очень часто аббревиатуру PM в России расшифровывают как Project Manager, на Западе как Product Manager, а мне...
-
Pull people into your conversation with @mentions
I’m excited to introduce a new feature we’ve just rolled out called Disqus @mentions. @mentions...
-
If You've Never Programmed...
If you’ve never programmed a computer, you should. There’s nothing like it in the whole world. When you program a...