Closed GORAZIZYAN98 closed 4 years ago
I'm not familiar with Postgres -- but the information_schema.tables is a MySQL one ... maybe check the environment vars are setup to use your postgres DB ... maybe your app is trying to connect to a MySQL DB?
@victormacko I cat the .env all vars are there
Dunno then ... maybe someone else has another idea ... you can always try the slack channel (see the 'community' page on the bref.sh site) for support too
yes thanks
when run this command in bitbucket pipelines
This is related to BitBucket though.
and when I run just php artisan migrate
Where are you running this?
both vendor/bin/bref cli truescape-game-api-dev-artisan -- migrate --force and php artisan migrate --force I run in piplines
In the artisan
function, you used the ${bref:layer.php-74-fpm}
layer: it should be ${bref:layer.php-74}
.
oh ! @mnapoli thx very much!
Hi, guys, I have an issue with database cannot migrate database DB is Postgres the severless'yml
I have file in root. php/conf.d/php.ini -> ;extension=/opt/bref-extra/pgsql.so extension=pdo_pgsql
when run this command in bitbucket pipelines
vendor/bin/bref cli truescape-game-api-dev-artisan -- migrate --force I got error could not find driver (SQL: select * from information_schema.tables where t able_schema = public and table_name = migrations and table_type = 'BASE TAB LE') In Connector.php line 70: could not find driver
and when I run just php artisan migrate I got timeout error
P.S. all other artisan commands works but migration