user7432810
user7432810

Reputation: 695

Connecting laravel voyager to an existing table

Does anyone know how to connect voyager to an existing table?

If the table doesn't exits one would go to Database=>Create and specify a name and columns and create a table which would display at the tables list but what do we do when there is a table?

I tried just filling the form and clicked the "Create new table" button and received "table already exists" error which was obvious.

Upvotes: 1

Views: 2000

Answers (1)

5eeker
5eeker

Reputation: 1027

If the table is already present in the same database as of your laravel project. Then it should be displayed in your list of tables under the Voyager->Databases

For ex : In the below snapshot, there was a table 'testtbl' which was already created by me. So it is getting reflected in the "Voyager => Databases"

Test Table

Upvotes: 1

Related Questions