mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-06-30 21:55:05 +03:00
db:generate should use hours with leading zeros for migration timestamp
This commit is contained in:
parent
3b16943795
commit
afa54b9e4a
|
@ -55,7 +55,7 @@ class Minion_Task_Db_Generate extends Minion_Task
|
||||||
$description = $config['description'];
|
$description = $config['description'];
|
||||||
|
|
||||||
// {year}{month}{day}{hour}{minute}{second}
|
// {year}{month}{day}{hour}{minute}{second}
|
||||||
$time = date('YmdGis');
|
$time = date('YmdHis');
|
||||||
$class = $this->_generate_classname($location, $time);
|
$class = $this->_generate_classname($location, $time);
|
||||||
$file = $this->_generate_filename($location, $time, $description);
|
$file = $this->_generate_filename($location, $time, $description);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue