Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kulya
TelegramBot
Commits
0d30dc85
Unverified
Commit
0d30dc85
authored
Jun 08, 2019
by
Avtandil Kikabidze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code style
parent
d6c1090f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
MigrateCommand.php
src/Console/MigrateCommand.php
+3
-5
MigrateInstallCommand.php
src/Console/MigrateInstallCommand.php
+0
-1
No files found.
src/Console/MigrateCommand.php
View file @
0d30dc85
...
@@ -53,14 +53,13 @@ class MigrateCommand extends Command
...
@@ -53,14 +53,13 @@ class MigrateCommand extends Command
// migrations may be run for any customized path from within the application.
// migrations may be run for any customized path from within the application.
if
(
$this
->
input
->
hasOption
(
'path'
)
&&
$this
->
option
(
'path'
))
{
if
(
$this
->
input
->
hasOption
(
'path'
)
&&
$this
->
option
(
'path'
))
{
return
collect
(
$this
->
option
(
'path'
))
->
map
(
function
(
$path
)
{
return
collect
(
$this
->
option
(
'path'
))
->
map
(
function
(
$path
)
{
return
!
$this
->
usingRealPath
()
return
!
$this
->
usingRealPath
()
?
$this
->
laravel
->
basePath
()
.
'/'
.
$path
:
$path
;
?
$this
->
laravel
->
basePath
()
.
'/'
.
$path
:
$path
;
})
->
all
();
})
->
all
();
}
}
return
array_merge
(
return
array_merge
(
$this
->
migrator
->
paths
(),
[
$this
->
getMigrationPath
()]
$this
->
migrator
->
paths
(),
[
$this
->
getMigrationPath
()]
);
);
}
}
...
@@ -74,4 +73,3 @@ class MigrateCommand extends Command
...
@@ -74,4 +73,3 @@ class MigrateCommand extends Command
return
$this
->
laravel
->
basePath
()
.
DIRECTORY_SEPARATOR
.
'migrations'
;
return
$this
->
laravel
->
basePath
()
.
DIRECTORY_SEPARATOR
.
'migrations'
;
}
}
}
}
src/Console/MigrateInstallCommand.php
View file @
0d30dc85
...
@@ -23,4 +23,3 @@ class MigrateInstallCommand extends Command
...
@@ -23,4 +23,3 @@ class MigrateInstallCommand extends Command
$this
->
info
(
'Migration table created successfully.'
);
$this
->
info
(
'Migration table created successfully.'
);
}
}
}
}
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