artisan:migrate is not skipped when it doesn't exist #3945
Answered
by
Akhmami
Akhmami
asked this question in
Help needed
-
if i look at the laravel.php recipe the task task artisan:migrate
[safaraz] error in laravel.php on line 73:
[safaraz] run /usr/bin/php /var/www/safaraz/releases/4/artisan migrate --force
[safaraz] In Connection.php line 829:
[safaraz] SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select t
[safaraz] able_name as `name`, (data_length + index_length) as `size`, table_comment
[safaraz] as `comment`, engine as `engine`, table_collation as `collation` from infor
[safaraz] mation_schema.tables where table_schema = 'school_project' and table_type i
[safaraz] n ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)
[safaraz] In Connector.php line 65:
[safaraz] SQLSTATE[HY000] [2002] Connection refused
[safaraz] exit code 1 (General error)
ERROR: Task artisan:migrate failed! what is the best practice to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
Akhmami
Nov 4, 2024
Replies: 1 comment
-
so by default |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
antonmedv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so by default
.env
will be added if not exists, and now i have a new problem. #3946