Commit 23c9bfa5 authored by Shakarim Sapa's avatar Shakarim Sapa

- Внесены небольшие корректировки в миграцию

parent 29b3c4a4
...@@ -11,6 +11,11 @@ class m160324_144228_add_template_column_to_co_content extends Migration ...@@ -11,6 +11,11 @@ class m160324_144228_add_template_column_to_co_content extends Migration
'template_id', 'template_id',
$this->integer(11)->defaultValue(null) $this->integer(11)->defaultValue(null)
); );
$this->createIndex(
'tempalte',
'co_content',
'template_id'
);
$this->addForeignKey( $this->addForeignKey(
'fk_co_content_template', 'fk_co_content_template',
'co_content', 'template_id', 'co_content', 'template_id',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment