Comments (3)
@shadyk thanks for using this project.
before you are able to call that migration (php artisan migrate
), you must publish the Module Migrations to the Framework migrations directory.
Example of publishing the User Module Migrations: php artisan vendor:publish --provider="Mega\Modules\User\Providers\UserServiceProvider"
So just run this and then try again.
This is mentioned in the Notes section of https://github.com/Mahmoudz/Hello-API/wiki/Database-Migrations.
I will update the Installation steps to cover that in a more clear way.
Regarding the PDO exception this is usually due to missing the PDO installation on your server or could be installed but misconfigured. Try using this project (LaraDock) to make your life easier and to manage your server environment in a very easy way. LaraDock is tested and run smoothly with Hello API.
And finally for the Production thingy just make sure the .env exist the variables are set correctly.
Best,
from apiato.
Hello again,
Your solution worked but not totally when i tried to migrate I now get another error
php artisan migrate
[PDOException]
SQLSTATE[HY000] [2002] Operation timed out
It is timing out after 10 sec
from apiato.
not sure why! but try switching 127.0.0.1
with localhost
and vice versa in your config files.
from apiato.
Related Issues (20)
- Composer require problem with requirements
- Installing on cPanel HOT 1
- Search is not working in RequestCriteria HOT 2
- Laravel Passport PKCE HOT 2
- microservice projects HOT 2
- Add Laravel 10 support HOT 6
- Swagger Generator HOT 2
- Your requirements could not be resolved to an installable set of packages
- how to handle relationship HOT 3
- UUID , instead of Hashed Id
- Hash ids error when using "in" operator HOT 2
- Cli generator does not support `criteria` currently
- Why i am getting "Welcome to Apiato" message even after specifying route end point HOT 1
- apiato:apidoc command throw ProcessFailedException Error HOT 9
- API Test Error: "The requested Resource was not found." HOT 5
- Custom Model primaryKey not working! HOT 2
- Installation Error via Composer
- No hint path defined for [mail] HOT 1
- Invalid key supplied HOT 2
- Repository delete() ModelNotFoundException is never thrown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiato.