Adapt countries to add country code, create command to populate or update countries and translate countries to chill_main.available languages. Fix #317 and fix #316

The LoadCountries Data fixtures are also updated. Both Command and DataFixtures/ORM/LoadCountries use the same static function.

[ci skip]
This commit is contained in:
2014-11-16 22:18:12 +01:00
parent e9da6412cc
commit a9f4324513
4 changed files with 134 additions and 249 deletions

View File

@@ -7,7 +7,9 @@ Chill\MainBundle\Entity\Country:
id: true
generator:
strategy: AUTO
label:
name:
type: json_array
countryCode:
type: string
length: 255
length: 3
lifecycleCallbacks: { }