Joined January 2019
·

MrReeds

Dev
·
·
·

As the prefix seems to break in every migration after the custom grammar is set, you can use
class ExtendedMySqlGrammar extends MySqlGrammar
{
public function __construct()
{
$this->tablePrefix = DB::getTablePrefix();
}
...
I used same logic but with postgres.

Achievements
1 Karma
0 Total ProTip Views