diff --git a/protected/migrations/m010101_000002_init_product_currency_table.php b/protected/migrations/m010101_000002_init_product_currency_table.php index 43c00793..2aea1317 100644 --- a/protected/migrations/m010101_000002_init_product_currency_table.php +++ b/protected/migrations/m010101_000002_init_product_currency_table.php @@ -4,9 +4,9 @@ class m010101_000002_init_product_currency_table extends CDbMigration { public function up() { - Yii::app()->db->createCommand()->insert('{{product_currency}}', array('id' => 1, 'name' => 'Рубль', 'display' => 'руб')); - Yii::app()->db->createCommand()->insert('{{product_currency}}', array('id' => 2, 'name' => 'Доллар', 'display' => '$')); - Yii::app()->db->createCommand()->insert('{{product_currency}}', array('id' => 3, 'name' => 'Евро', 'display' => '€')); + Yii::app()->db->createCommand()->insert('{{product_currency}}', array('id' => 1, 'name' => 'Рубль', 'title' => 'руб')); + Yii::app()->db->createCommand()->insert('{{product_currency}}', array('id' => 2, 'name' => 'Доллар', 'title' => '$')); + Yii::app()->db->createCommand()->insert('{{product_currency}}', array('id' => 3, 'name' => 'Евро', 'title' => '€')); } public function down()