@@ -277,6 +277,10 @@ discard block |
||
| 277 | 277 | } |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | + /** |
|
| 281 | + * @param string $sequenceName |
|
| 282 | + * @param string $newSequenceName |
|
| 283 | + */ |
|
| 280 | 284 | public function renameSequence($sequenceName, $newSequenceName) |
| 281 | 285 | { |
| 282 | 286 | $this->execute(sprintf('rename "%s" to "%s"', $sequenceName, $newSequenceName)); |
@@ -304,6 +308,9 @@ discard block |
||
| 304 | 308 | $this->execute($sql); |
| 305 | 309 | } |
| 306 | 310 | |
| 311 | + /** |
|
| 312 | + * @return string |
|
| 313 | + */ |
|
| 307 | 314 | public function getColumnComment($tableName, $columnName) |
| 308 | 315 | { |
| 309 | 316 | $sql = sprintf( |
@@ -919,6 +926,7 @@ discard block |
||
| 919 | 926 | * Gets the Oracle Index Definition for an Index object. |
| 920 | 927 | * |
| 921 | 928 | * @param \Phinx\Db\Table\Index $index Index |
| 929 | + * @param string $tableName |
|
| 922 | 930 | * @return string |
| 923 | 931 | */ |
| 924 | 932 | protected function getIndexSqlDefinition(Index $index, $tableName) |
@@ -947,6 +955,7 @@ discard block |
||
| 947 | 955 | * Gets the Oracle Foreign Key Definition for an ForeignKey object. |
| 948 | 956 | * |
| 949 | 957 | * @param \Phinx\Db\Table\ForeignKey $foreignKey |
| 958 | + * @param string $tableName |
|
| 950 | 959 | * @return string |
| 951 | 960 | */ |
| 952 | 961 | protected function getForeignKeySqlDefinition(ForeignKey $foreignKey, $tableName) |
@@ -1060,6 +1069,9 @@ discard block |
||
| 1060 | 1069 | $stmt->execute($vals); |
| 1061 | 1070 | } |
| 1062 | 1071 | |
| 1072 | + /** |
|
| 1073 | + * @param string $sequence |
|
| 1074 | + */ |
|
| 1063 | 1075 | protected function getNextValSequence($sequence) |
| 1064 | 1076 | { |
| 1065 | 1077 | $sql = "SELECT %s.NEXTVAL FROM DUAL"; |