isaac Posted October 30, 2015 Report Share Posted October 30, 2015 1 datubāze uz 2 laravel instalācijām. Migrations nekonfliktēs? Quote Link to comment Share on other sites More sharing options...
briedis Posted October 30, 2015 Report Share Posted October 30, 2015 Migrāciju tabula glabā to, kas ir nomigrēts, kas nav. Vienīgi ņem vērā, ka rollbackojot no vienas aplikācijas, rollbackosies otras aplikācijas tabulas. Tas pats ar migrēšanu. Tas ir, rollback migrācijas feilos, jo viena instalācija nevarēs atrast atbilstošu migrācijas failu, kas patiesībā atrodas otrā instalācijā. Variants cits - katrai instalācijai sava migrāciju tabula. To var configā norādīt. Quote Link to comment Share on other sites More sharing options...
php newbie Posted October 30, 2015 Report Share Posted October 30, 2015 Varbūt var izmantot db prefiksu Quote Link to comment Share on other sites More sharing options...
briedis Posted October 30, 2015 Report Share Posted October 30, 2015 Varbūt var izmantot db prefiksu O, pat labāks variants! Nebija ienācīs prātā :D Quote Link to comment Share on other sites More sharing options...
isaac Posted October 30, 2015 Author Report Share Posted October 30, 2015 O, pat labāks variants! Nebija ienācīs prātā :D Toč, biju palaidis garām. Paldies ;) Quote Link to comment Share on other sites More sharing options...
Kavacky Posted November 1, 2015 Report Share Posted November 1, 2015 Nečakarēties un uztaisīt 2. DB. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.