Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
75abe223
Commit
75abe223
authored
Jan 30, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix migrator.
parent
64c284bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
migrator.php
laravel/cli/tasks/migrate/migrator.php
+1
-1
resolver.php
laravel/cli/tasks/migrate/resolver.php
+1
-1
No files found.
laravel/cli/tasks/migrate/migrator.php
View file @
75abe223
...
@@ -192,7 +192,7 @@ class Migrator extends Task {
...
@@ -192,7 +192,7 @@ class Migrator extends Task {
// is a better way of ordering migrations than a simple integer
// is a better way of ordering migrations than a simple integer
// incrementation, since developers may start working on the
// incrementation, since developers may start working on the
// next migration at the same time unknowingly.
// next migration at the same time unknowingly.
$prefix
=
date
(
'Y_m_d'
);
$prefix
=
date
(
'Y_m_d'
)
.
'_'
.
time
()
;
$path
=
Bundle
::
path
(
$bundle
)
.
'migrations'
.
DS
;
$path
=
Bundle
::
path
(
$bundle
)
.
'migrations'
.
DS
;
...
...
laravel/cli/tasks/migrate/resolver.php
View file @
75abe223
...
@@ -116,7 +116,7 @@ class Resolver {
...
@@ -116,7 +116,7 @@ class Resolver {
// naming collisions with other bundle's migrations.
// naming collisions with other bundle's migrations.
$prefix
=
Bundle
::
class_prefix
(
$bundle
);
$prefix
=
Bundle
::
class_prefix
(
$bundle
);
$class
=
$prefix
.
substr
(
$name
,
11
);
$class
=
$prefix
.
substr
(
$name
,
22
);
$migration
=
new
$class
;
$migration
=
new
$class
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment