![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 47 Pomógł: 4 Dołączył: 12.07.2003 Ostrzeżenie: (0%) ![]() ![]() |
zdefiniowałem nowe kolumny w shema.yml,
dodałem również do wygenerowanych klas w lib/model/doctrine/base oraz metody do klass lib/model/doctrine zrobiłem migrację. mimo to - zwracane rekordy nadal nie posiadaja wartosci z nowych kolumn. Są jednak zapisywane zmiany. Nie mogę przebudować modeli, ze względu dopisany w nich kod. Any ideas? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 2 Dołączył: 25.08.2010 Ostrzeżenie: (0%) ![]() ![]() |
Tak na poparcie tego co napisał @jaro87, opis doctrine:build-model (Task):
The task read the schema information in config/doctrine/*.yml from the project and all enabled plugins. The model classes files are created in lib/model/doctrine. This task never overrides custom classes in lib/model/doctrine. It only replaces files in lib/model/doctrine/base. http://www.symfony-project.org/reference/1...ine_build_model Ten post edytował g0ther 29.03.2012, 14:23:01 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 13:57 |