nWidart / laravel-modules

Module Management In Laravel
https://docs.laravelmodules.com
MIT License
5.52k stars 959 forks source link

same table name of different modules got conflict #831

Closed badrul1329 closed 5 years ago

badrul1329 commented 5 years ago

When wants to create same table name like settings in different modules, it shows the error...

Cannot declare class CreateSettingsTable, because the name is already in use

nWidart commented 5 years ago

Hi,

This is expected behaviour in laravel. Tables with the same name can't exist in any data source that I know of.

badrul1329 commented 5 years ago

I have multiple database according to multiple module, and there may be same table name like settings in multiple modular database hence the error occurred when i create same settings migration file in different module and tried to migrate, the error occurred but my same name table name is in different module

On Sat, Sep 14, 2019, 11:24 PM Nicolas Widart notifications@github.com wrote:

Closed #831 https://github.com/nWidart/laravel-modules/issues/831.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nWidart/laravel-modules/issues/831?email_source=notifications&email_token=ACNSMB7U6T3D7IWJXI3B3TTQJUM4VA5CNFSM4IWWSP42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTUBV25I#event-2634243445, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNSMBZ2D5D44RXSVEQVSSLQJUM4VANCNFSM4IWWSP4Q .