birthday field type changed to DATE in client table

This commit is contained in:
Vaidas Lungis committed 2014-11-19 13:08:42 +02:00
1 parent f5ca83dbd3
commit fa10998bff
2 files changed
+15 -2

No files matched your search

+14 -1
View File
@@ -18,6 +18,18 @@
*/
/**
* Version X.XX.X
*/
class BBPatch_19 extends BBPatchAbstract
{
public function patch()
{
$q="ALTER TABLE `client` MODIFY `birthday` date;";
$this->execSql($q);
}
}/**
* Version 4.12
*/
class BBPatch_18 extends BBPatchAbstract
@@ -29,7 +41,8 @@ class BBPatch_18 extends BBPatchAbstract
}
}/**
}
/**
* Version X.XX.X
*/
class BBPatch_17 extends BBPatchAbstract
+1 -1
View File
@@ -207,7 +207,7 @@ CREATE TABLE `client` (
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`gender` varchar(20) DEFAULT NULL,
`birthday` varchar(100) DEFAULT NULL,
`birthday` date DEFAULT NULL,
`phone_cc` varchar(10) DEFAULT NULL,
`phone` varchar(100) DEFAULT NULL,
`company` varchar(100) DEFAULT NULL,