Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoGoCarto
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pixel Humain
GoGoCarto
Commits
9bea09cb
Unverified
Commit
9bea09cb
authored
4 years ago
by
Sebastian Castro
Browse files
Options
Downloads
Patches
Plain Diff
fix again migration and gogo-update
parent
d88a446b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+4
-4
4 additions, 4 deletions
Makefile
src/Command/MigrationCommand.php
+1
-1
1 addition, 1 deletion
src/Command/MigrationCommand.php
with
5 additions
and
5 deletions
Makefile
+
4
−
4
View file @
9bea09cb
...
...
@@ -119,10 +119,10 @@ cs-fix: ## Run php-cs-fixer and fix the code
gogo-update
:
##
Update a PROD server to the lastest version of gogocarto
$(
GIT
)
reset
--hard
master
$(
GIT
)
pull origin master
COMPOSER_MEMORY_LIMIT
=
-1
$(
COMPOSER
)
install
$(
YARN
)
install
$(
GULP
)
build
$(
GULP
)
production
$(
YARN
)
encore production
COMPOSER_MEMORY_LIMIT
=
-1
$(
COMPOSER
)
install
make purge
$(
SYMFONY
)
db:migrate
\ No newline at end of file
$(
YARN
)
encore production
$(
SYMFONY
)
db:migrate
make purge
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Command/MigrationCommand.php
+
1
−
1
View file @
9bea09cb
...
...
@@ -94,7 +94,7 @@ class MigrationCommand extends GoGoAbstractCommand
try
{
// Collecting the Database to be updated
$dbs
=
[
''
];
// default DB
$dbs
=
[
$_ENV
[
'DATABASE_NAME'
]
];
// default DB
$dbNames
=
$dm
->
createQueryBuilder
(
'App\Document\Project'
)
->
select
(
'domainName'
)
->
hydrate
(
false
)
->
getQuery
()
->
execute
()
->
toArray
();
foreach
(
$dbNames
as
$object
)
{
$dbs
[]
=
$object
[
'domainName'
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment