ulobby / NeoEloquent

An extension of Laravel Elqouent that supports Neo4j, a native graph database
MIT License
41 stars 17 forks source link

query Exception during migrate #26

Closed cedvict closed 3 years ago

cedvict commented 3 years ago

Hi Guys I have some error occurred during migrate Can someone help me? image Thanks in advance

harris21 commented 3 years ago

Hello @cedvict,

like mention in https://github.com/ulobby/NeoEloquent/issues/27#issuecomment-771993415 , would you please provide us some more information? In addition to the ones mentioned in the provided link, could you also show us what's your migration like?

Thanks!

cedvict commented 3 years ago

Hello @cedvict,

like mention in #27 (comment) , would you please provide us some more information? In addition to the ones mentioned in the provided link, could you also show us what's your migration like?

Thanks!

Hello @harris21 The migration is for conventionnal sql dbms. I try to make migration with neo4j

berteltorp commented 3 years ago

@cedvict Are you running php artisan neo4j:migrate to run a mysql migration? 🤔

cedvict commented 3 years ago

No. I have executed neo4j:migrate:reset to get this. At the same when to open laravel in browser

harris21 commented 3 years ago

Hey @cedvict, would you please share the exact steps that you followed so we can try and reproduce your issue? Screenshot of your terminal would help as well!

cedvict commented 3 years ago

Hi @harris21

After install ulobby/NeoEloquent I try to make migration (php artisan neo4j:make:migration user) and I get this result image Also I try to reset migration (php artisan neo4j:migrate:reset) and I get this result image

My composer.json file image

Neo4j database setting image

cedvict commented 3 years ago

Mistake picture previous composer.json file image

raavus-funkmaster commented 3 years ago

Are other commands or functions working? What about your neo4j dockerfile? If you are running 4.0+ then neoeloquent is going to be attempting to send requests to endpoints that no longer exist and you'll get this 404 response.

SimonThordal commented 3 years ago

Hi @cedvict, we've made a fix to php artisan neo4j:make:migration that might solve at least one of your problems. Additionally could you check that your Neo4j version is on 3.5 and not 4.0? NeoEloquent currently doesn't support 4.0+.

cedvict commented 3 years ago

Thanks 👍

berteltorp commented 3 years ago

Closing as fixed.