File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ class Grammar extends MySqlGrammar
19
19
{
20
20
use CompilesKeys, ModifiesColumns;
21
21
22
+ public function __construct ()
23
+ {
24
+ // Before anything kicks off, we need to add the SingleStore modifiers
25
+ // so that they'll get used while the columns are all compiling.
26
+ $ this ->addSingleStoreModifiers ();
27
+ }
28
+
22
29
/**
23
30
* Create the column definition for a spatial Geography type.
24
31
*
@@ -54,10 +61,6 @@ public function typePoint(Fluent $column)
54
61
*/
55
62
protected function compileCreateTable ($ blueprint , $ command , $ connection )
56
63
{
57
- // Before anything kicks off, we need to add the SingleStore modifiers
58
- // so that they'll get used while the columns are all compiling.
59
- $ this ->addSingleStoreModifiers ();
60
-
61
64
// We want to do as little as possible ourselves, so we rely on the parent
62
65
// to compile everything and then potentially sneak some modifiers in.
63
66
return $ this ->insertCreateTableModifiers (
You can’t perform that action at this time.
0 commit comments