tweaked migration date for last time.
This commit is contained in:
@@ -192,7 +192,7 @@ class Migrator extends Task {
|
||||
// is a better way of ordering migrations than a simple integer
|
||||
// incrementation, since developers may start working on the
|
||||
// next migration at the same time unknowingly.
|
||||
$prefix = date('Y_m_d').'_'.time();
|
||||
$prefix = date('Y_m_d_His');
|
||||
|
||||
$path = Bundle::path($bundle).'migrations'.DS;
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ class Resolver {
|
||||
// naming collisions with other bundle's migrations.
|
||||
$prefix = Bundle::class_prefix($bundle);
|
||||
|
||||
$class = $prefix.substr($name, 22);
|
||||
$class = $prefix.substr($name, 18);
|
||||
|
||||
$migration = new $class;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user