Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 591 forks source link

How to generate migrations for Oracle #188

Open coolSumanta opened 5 years ago

coolSumanta commented 5 years ago

How to generate migrations when using oracle as a db . Basically I have 3 DB 1 is mysql rest 2 are oracle with different connection names. What I am trying to do is to connect and make migrations for oracle DB and the issue is whenever I am trying to connect to oracle its not able to fetch the database tables for second table (out of two oracle db's) , it always shows the first table contents even if I mention the connection .

djunehor commented 4 years ago

Install this package:https://github.com/yajra/laravel-oci8 and see if it helps you generate migration for oracle