File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ class Forge
135135 *
136136 * @var false|string
137137 */
138- protected $ renameTableStr = 'ALTER TABLE %s RENAME TO %s; ' ;
138+ protected $ renameTableStr = 'ALTER TABLE %s RENAME TO %s ' ;
139139
140140 /**
141141 * UNSIGNED support
@@ -1042,14 +1042,14 @@ protected function _processIndexes(string $table)
10421042 if (in_array ($ i , $ this ->uniqueKeys , true )) {
10431043 $ sqls [] = 'ALTER TABLE ' . $ this ->db ->escapeIdentifiers ($ table )
10441044 . ' ADD CONSTRAINT ' . $ this ->db ->escapeIdentifiers ($ table . '_ ' . implode ('_ ' , $ this ->keys [$ i ]))
1045- . ' UNIQUE ( ' . implode (', ' , $ this ->db ->escapeIdentifiers ($ this ->keys [$ i ])) . '); ' ;
1045+ . ' UNIQUE ( ' . implode (', ' , $ this ->db ->escapeIdentifiers ($ this ->keys [$ i ])) . ') ' ;
10461046
10471047 continue ;
10481048 }
10491049
10501050 $ sqls [] = 'CREATE INDEX ' . $ this ->db ->escapeIdentifiers ($ table . '_ ' . implode ('_ ' , $ this ->keys [$ i ]))
10511051 . ' ON ' . $ this ->db ->escapeIdentifiers ($ table )
1052- . ' ( ' . implode (', ' , $ this ->db ->escapeIdentifiers ($ this ->keys [$ i ])) . '); ' ;
1052+ . ' ( ' . implode (', ' , $ this ->db ->escapeIdentifiers ($ this ->keys [$ i ])) . ') ' ;
10531053 }
10541054
10551055 return $ sqls ;
You can’t perform that action at this time.
0 commit comments