Skip to content

Commit ce2ae54

Browse files
authored
style: remove semicolon for OCI8.
1 parent 7ed298f commit ce2ae54

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

system/Database/Forge.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)