Browse Source

Add one more demo currency on MySQL install action

Vova Tkach 5 years ago
parent
commit
3a9d5816e9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      modules/module_index_act_mysql_setup.go

+ 2 - 1
modules/module_index_act_mysql_setup.go

@@ -518,7 +518,8 @@ func (this *Modules) RegisterAction_IndexMysqlSetup() *Action {
 		if _, err = tx.Exec(
 			`INSERT INTO shop_currencies (id, name, coefficient, code, symbol)
 				VALUES
-			(1, 'US Dollar', 1.0000, 'USD', '$');`,
+			(1, 'US Dollar', 1.0000, 'USD', '$'),
+			(2, 'UA Grivna', 25.0000, 'UAH', '₴');`,
 		); err != nil {
 			tx.Rollback()
 			wrap.MsgError(err.Error())