Skip to content

Commit

Permalink
Bug: Исправлена миграция валют
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarinov committed Aug 30, 2014
1 parent f4729b1 commit 151abc1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 151abc1

Please sign in to comment.