@@ -568,6 +568,8 @@ discard block |
||
| 568 | 568 | |
| 569 | 569 | /** |
| 570 | 570 | * {@inheritdoc} |
| 571 | + * @param string $tableName |
|
| 572 | + * @param string|null $columnName |
|
| 571 | 573 | */ |
| 572 | 574 | protected function getDropDefaultConstraint($tableName, $columnName) |
| 573 | 575 | { |
@@ -580,6 +582,9 @@ discard block |
||
| 580 | 582 | return $this->getDropForeignKeyInstructions($tableName, $defaultConstraint); |
| 581 | 583 | } |
| 582 | 584 | |
| 585 | + /** |
|
| 586 | + * @return string |
|
| 587 | + */ |
|
| 583 | 588 | protected function getDefaultConstraint($tableName, $columnName) |
| 584 | 589 | { |
| 585 | 590 | $sql = "SELECT |
@@ -1075,6 +1080,7 @@ discard block |
||
| 1075 | 1080 | * Gets the SqlServer Index Definition for an Index object. |
| 1076 | 1081 | * |
| 1077 | 1082 | * @param \Phinx\Db\Table\Index $index Index |
| 1083 | + * @param string $tableName |
|
| 1078 | 1084 | * @return string |
| 1079 | 1085 | */ |
| 1080 | 1086 | protected function getIndexSqlDefinition(Index $index, $tableName) |
@@ -1100,6 +1106,7 @@ discard block |
||
| 1100 | 1106 | * Gets the SqlServer Foreign Key Definition for an ForeignKey object. |
| 1101 | 1107 | * |
| 1102 | 1108 | * @param \Phinx\Db\Table\ForeignKey $foreignKey |
| 1109 | + * @param string $tableName |
|
| 1103 | 1110 | * @return string |
| 1104 | 1111 | */ |
| 1105 | 1112 | protected function getForeignKeySqlDefinition(ForeignKey $foreignKey, $tableName) |