diff --git a/Classes/Domain/Model/JobApplication.php b/Classes/Domain/Model/JobApplication.php index 9b81d5bc188b43fb0306bc25e88cfd210797dab4..985a99dd91343feb9d3ecf57dcd8763834345813 100644 --- a/Classes/Domain/Model/JobApplication.php +++ b/Classes/Domain/Model/JobApplication.php @@ -97,7 +97,7 @@ class JobApplication extends AbstractEntity { protected $education = ''; /** - * @var int $birthDate + * @var string $birthDate * @validate NotEmpty */ protected $birthDate = ''; diff --git a/ext_tables.sql b/ext_tables.sql index 63c423dde630ed36314e0061e30dd30dc63bfdf5..e3286dda82a7a3f51ed8dc2a52c24128779170c3 100644 --- a/ext_tables.sql +++ b/ext_tables.sql @@ -153,7 +153,7 @@ CREATE TABLE tx_sgjobs_domain_model_job_application ( country text DEFAULT '' NOT NULL, nationality text DEFAULT '' NOT NULL, education text DEFAULT '' NOT NULL, - birth_date int(11) unsigned DEFAULT '0' NOT NULL, + birth_date text DEFAULT '' NOT NULL, phone text DEFAULT '' NOT NULL, mobile text DEFAULT '' NOT NULL, email text DEFAULT '' NOT NULL,