Skip to content

Commit

Permalink
Dependencia de version con yii2-migrate, y fixes menores
Browse files Browse the repository at this point in the history
  • Loading branch information
josejesus1824 committed Jun 5, 2017
1 parent 8f7912f commit c606734
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"php": ">=5.6",
"yiisoft/yii2": "~2.0.10",
"tecnocen/yii2-roa": "*",
"tecnocen/yii2-migrate": "*"
"tecnocen/yii2-migrate": ">=1.0.1"
},
"require-dev": {
"codeception/base": "^2.2.11",
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/m170101_000006_form_section.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function columns()
/**
* @inheritdoc
*/
public function columns()
public function foreignKeys()
{
return ['form_id' => 'formgenerator_form'];
}
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/m170101_000007_form_section_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ public function foreignKeys()
*/
public function compositePrimaryKeys()
{
return ['secction_id', 'field_id'];
return ['section_id', 'field_id'];
}
}
2 changes: 1 addition & 1 deletion src/migrations/m170101_000009_form_solicitude_value.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function foreignKeys()
'field' => [
'table' => 'formgenerator_form_section_field',
'columns' => [
'section_id' => 'seccion_id',
'section_id' => 'section_id',
'field_id' => 'field_id',
],
],
Expand Down

0 comments on commit c606734

Please sign in to comment.