<?php

use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddDataCurrencyTable extends Migration
{

    public function up()
    {
        DB::statement("INSERT INTO `currency` (`id`, `code`, `name`, `language_key`,  `status`, `created_by`, `updated_by`, `created_at`, `updated_at`)
                                VALUES (4, 'JPY', 'Japanese Yen', 'currency-japanese_yen', 1, 1, 1, 1, 1),
                                 (5, 'BGN', 'Bulgaria Lev', 'currency-bulgaria_lev', 1, 1, 1, 1, 1),
                                 (6, 'CZK', 'Czech Koruna', 'currency-czech_koruna', 1, 1, 1, 1, 1),
                                 (7, 'DKK', 'Czech Koruna', 'currency-denmark_krone', 1, 1, 1, 1, 1),
                                 (8, 'GBP', 'Great Britain Pound', 'currency-great_britain_pound', 1, 1, 1, 1, 1),
                                 (9, 'HUF', 'Hungary Forint', 'currency-hungary_forint', 1, 1, 1, 1, 1),
                                 (10, 'PLN', 'Poland Zloty', 'currency-poland_zloty', 1, 1, 1, 1, 1),
                                 (11, 'RON', 'Romania New Lei', 'currency-romania_new_lei', 1, 1, 1, 1, 1),
                                 (12, 'SEK', 'Sweden Krona', 'currency-sweden_krona', 1, 1, 1, 1, 1),
                                 (13, 'CHF', 'Switzerland Franc', 'currency-switzerland_franc', 1, 1, 1, 1, 1),
                                 (14, 'ISK', 'Iceland Krona', 'currency-iceland_krona', 1, 1, 1, 1, 1),
                                 (15, 'NOK', 'Norway Kroner', 'currency-norway_kroner', 1, 1, 1, 1, 1),
                                 (16, 'HRK', 'Croatia Kuna', 'currency-croatia_kuna', 1, 1, 1, 1, 1),
                                 (17, 'RUB', 'Russia Rouble', 'currency-russia_rouble', 1, 1, 1, 1, 1),
                                 (18, 'AUD', 'Australia Dollar', 'currency-australia_dollar', 1, 1, 1, 1, 1),
                                 (19, 'BRL', 'Brazil Real', 'currency-brazil_real', 1, 1, 1, 1, 1),
                                 (20, 'CAD', 'Canada Dollar', 'currency-canada_dollar', 1, 1, 1, 1, 1),
                                 (21, 'CNY', 'China Yuan', 'currency-china_yuan', 1, 1, 1, 1, 1),
                                 (22, 'HKD', 'Hong Kong Dollar', 'currency-hong_kong_dollar', 1, 1, 1, 1, 1),
                                 (23, 'IDR', 'Indonesia Rupiah', 'currency-indonesia_rupiah', 1, 1, 1, 1, 1),
                                 (24, 'ILS', 'Israel New Shekel', 'currency-israel_new_shekel', 1, 1, 1, 1, 1),
                                 (25, 'INR', 'India Rupee', 'currency-india_rupee', 1, 1, 1, 1, 1),
                                 (26, 'KRW', 'South Korea Won', 'currency-south_korea_won', 1, 1, 1, 1, 1),
                                 (27, 'MXN', 'Mexico Peso', 'currency-mexico_peso', 1, 1, 1, 1, 1),
                                 (28, 'MYR', 'Malaysia Ringgit', 'currency-malaysia_ringgit', 1, 1, 1, 1, 1),
                                 (29, 'NZD', 'New Zealand Dollar', 'currency-new_zealand_dollar', 1, 1, 1, 1, 1),
                                 (30, 'PHP', 'Philippines Peso', 'currency-philippines_peso', 1, 1, 1, 1, 1),
                                 (31, 'SGD', 'Singapore Dollar', 'currency-singapore_dollar', 1, 1, 1, 1, 1),
                                 (32, 'THB', 'Thailand Baht', 'currency-thailand_baht', 1, 1, 1, 1, 1),
                                 (33, 'ZAR', 'South Africa Rand', 'currency-south_africa_rand', 1, 1, 1, 1, 1)
                            ");

    }


    public function down()
    {
        //
    }
}
