From 0a3000bee0e4a0a3e9f889a6db3b40ce78a43362 Mon Sep 17 00:00:00 2001
From: Sergiu-Lucian Petrica <sergiu@die-lobby.de>
Date: Tue, 12 Dec 2017 10:10:53 +0200
Subject: [PATCH] Changed birthdate to string

---
 Classes/Domain/Model/JobApplication.php | 2 +-
 ext_tables.sql                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Classes/Domain/Model/JobApplication.php b/Classes/Domain/Model/JobApplication.php
index 9b81d5bc..985a99dd 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 63c423dd..e3286dda 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,
-- 
GitLab