-- -------------------------------------------------------------
-- TablePlus 3.11.0(352)
--
-- https://tableplus.com/
--
-- Database: phkay_loan
-- Generation Time: 2022-10-23 12:44:50.0180
-- -------------------------------------------------------------


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;


DROP TABLE IF EXISTS `currencies`;
CREATE TABLE `currencies` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `symbol` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rate` decimal(8,2) DEFAULT NULL,
  `default` tinyint DEFAULT '0',
  `position` enum('left','right') COLLATE utf8mb4_unicode_ci DEFAULT 'right',
  `status` tinyint DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=120 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `currencies` (`id`, `name`, `code`, `symbol`, `rate`, `default`, `position`, `status`, `created_at`, `updated_at`) VALUES
('1', 'US Dollar', 'USD', '$', '1.00', '0', '', '1', NULL, NULL),
('2', 'Canadian Dollar', 'CAD', 'CA$', '1.00', '0', '', '0', NULL, NULL),
('3', 'Euro', 'EUR', '€', '1.00', '0', '', '0', NULL, NULL),
('4', 'United Arab Emirates Dirham', 'AED', 'د.إ.‏', '1.00', '0', '', '0', NULL, NULL),
('5', 'Afghan Afghani', 'AFN', '؋', '1.00', '0', '', '0', NULL, NULL),
('6', 'Albanian Lek', 'ALL', 'L', '1.00', '0', '', '0', NULL, NULL),
('7', 'Armenian Dram', 'AMD', '֏', '1.00', '0', '', '0', NULL, NULL),
('8', 'Argentine Peso', 'ARS', '$', '1.00', '0', '', '0', NULL, NULL),
('9', 'Australian Dollar', 'AUD', '$', '1.00', '0', '', '0', NULL, NULL),
('10', 'Azerbaijani Manat', 'AZN', '₼', '1.00', '0', '', '0', NULL, NULL),
('11', 'Bosnia-Herzegovina Convertible Mark', 'BAM', 'KM', '1.00', '0', '', '0', NULL, NULL),
('12', 'Bangladeshi Taka', 'BDT', '৳', '1.00', '0', '', '0', NULL, NULL),
('13', 'Bulgarian Lev', 'BGN', 'лв.', '1.00', '0', '', '0', NULL, NULL),
('14', 'Bahraini Dinar', 'BHD', 'د.ب.‏', '1.00', '0', '', '0', NULL, NULL),
('15', 'Burundian Franc', 'BIF', 'FBu', '1.00', '0', '', '0', NULL, NULL),
('16', 'Brunei Dollar', 'BND', 'B$', '1.00', '0', '', '0', NULL, NULL),
('17', 'Bolivian Boliviano', 'BOB', 'Bs', '1.00', '0', '', '0', NULL, NULL),
('18', 'Brazilian Real', 'BRL', 'R$', '1.00', '0', '', '0', NULL, NULL),
('19', 'Botswanan Pula', 'BWP', 'P', '1.00', '0', '', '0', NULL, NULL),
('20', 'Belarusian Ruble', 'BYN', 'Br', '1.00', '0', '', '0', NULL, NULL),
('21', 'Belize Dollar', 'BZD', '$', '1.00', '0', '', '0', NULL, NULL),
('22', 'Congolese Franc', 'CDF', 'FC', '1.00', '0', '', '0', NULL, NULL),
('23', 'Swiss Franc', 'CHF', 'CHf', '1.00', '0', '', '0', NULL, NULL),
('24', 'Chilean Peso', 'CLP', '$', '1.00', '0', '', '0', NULL, NULL),
('25', 'Chinese Yuan', 'CNY', '¥', '1.00', '0', '', '0', NULL, NULL),
('26', 'Colombian Peso', 'COP', '$', '1.00', '0', '', '0', NULL, NULL),
('27', 'Costa Rican Colón', 'CRC', '₡', '1.00', '0', '', '0', NULL, NULL),
('28', 'Cape Verdean Escudo', 'CVE', '$', '1.00', '0', '', '0', NULL, NULL),
('29', 'Czech Republic Koruna', 'CZK', 'Kč', '1.00', '0', '', '0', NULL, NULL),
('30', 'Djiboutian Franc', 'DJF', 'Fdj', '1.00', '0', '', '0', NULL, NULL),
('31', 'Danish Krone', 'DKK', 'Kr.', '1.00', '0', '', '0', NULL, NULL),
('32', 'Dominican Peso', 'DOP', 'RD$', '1.00', '0', '', '0', NULL, NULL),
('33', 'Algerian Dinar', 'DZD', 'د.ج.‏', '1.00', '0', '', '0', NULL, NULL),
('34', 'Estonian Kroon', 'EEK', 'kr', '1.00', '0', '', '0', NULL, NULL),
('35', 'Egyptian Pound', 'EGP', 'E£‏', '1.00', '0', '', '0', NULL, NULL),
('36', 'Eritrean Nakfa', 'ERN', 'Nfk', '1.00', '0', '', '0', NULL, NULL),
('37', 'Ethiopian Birr', 'ETB', 'Br', '1.00', '0', '', '0', NULL, NULL),
('38', 'British Pound Sterling', 'GBP', '£', '1.00', '0', '', '0', NULL, NULL),
('39', 'Georgian Lari', 'GEL', 'GEL', '1.00', '0', '', '0', NULL, NULL),
('40', 'Ghanaian Cedi', 'GHS', 'GH¢', '1.00', '0', '', '0', NULL, NULL),
('41', 'Guinean Franc', 'GNF', 'FG', '1.00', '0', '', '0', NULL, NULL),
('42', 'Guatemalan Quetzal', 'GTQ', 'Q', '1.00', '0', '', '0', NULL, NULL),
('43', 'Hong Kong Dollar', 'HKD', 'HK$', '1.00', '0', '', '0', NULL, NULL),
('44', 'Honduran Lempira', 'HNL', 'L', '1.00', '0', '', '0', NULL, NULL),
('45', 'Croatian Kuna', 'HRK', 'kn', '1.00', '0', '', '0', NULL, NULL),
('46', 'Hungarian Forint', 'HUF', 'Ft', '1.00', '0', '', '0', NULL, NULL),
('47', 'Indonesian Rupiah', 'IDR', 'Rp', '1.00', '0', '', '0', NULL, NULL),
('48', 'Israeli New Sheqel', 'ILS', '₪', '1.00', '0', '', '0', NULL, NULL),
('49', 'Indian Rupee', 'INR', '₹', '1.00', '0', '', '0', NULL, NULL),
('50', 'Iraqi Dinar', 'IQD', 'ع.د', '1.00', '0', '', '0', NULL, NULL),
('51', 'Iranian Rial', 'IRR', '﷼', '1.00', '0', '', '0', NULL, NULL),
('52', 'Icelandic Króna', 'ISK', 'kr', '1.00', '0', '', '0', NULL, NULL),
('53', 'Jamaican Dollar', 'JMD', '$', '1.00', '0', '', '0', NULL, NULL),
('54', 'Jordanian Dinar', 'JOD', 'د.ا‏', '1.00', '0', '', '0', NULL, NULL),
('55', 'Japanese Yen', 'JPY', '¥', '1.00', '0', '', '0', NULL, NULL),
('56', 'Kenyan Shilling', 'KES', 'Ksh', '1.00', '0', '', '0', NULL, NULL),
('57', 'Cambodian Riel', 'KHR', '៛', '4000.00', '0', 'right', '1', NULL, '2022-10-23 12:10:33'),
('58', 'Comorian Franc', 'KMF', 'FC', '1.00', '0', '', '0', NULL, NULL),
('59', 'South Korean Won', 'KRW', 'CF', '1.00', '0', '', '0', NULL, NULL),
('60', 'Kuwaiti Dinar', 'KWD', 'د.ك.‏', '1.00', '0', '', '0', NULL, NULL),
('61', 'Kazakhstani Tenge', 'KZT', '₸.', '1.00', '0', '', '0', NULL, NULL),
('62', 'Lebanese Pound', 'LBP', 'ل.ل.‏', '1.00', '0', '', '0', NULL, NULL),
('63', 'Sri Lankan Rupee', 'LKR', 'Rs', '1.00', '0', '', '0', NULL, NULL),
('64', 'Lithuanian Litas', 'LTL', 'Lt', '1.00', '0', '', '0', NULL, NULL),
('65', 'Latvian Lats', 'LVL', 'Ls', '1.00', '0', '', '0', NULL, NULL),
('66', 'Libyan Dinar', 'LYD', 'د.ل.‏', '1.00', '0', '', '0', NULL, NULL),
('67', 'Moroccan Dirham', 'MAD', 'د.م.‏', '1.00', '0', '', '0', NULL, NULL),
('68', 'Moldovan Leu', 'MDL', 'L', '1.00', '0', '', '0', NULL, NULL),
('69', 'Malagasy Ariary', 'MGA', 'Ar', '1.00', '0', '', '0', NULL, NULL),
('70', 'Macedonian Denar', 'MKD', 'Ден', '1.00', '0', '', '0', NULL, NULL),
('71', 'Myanma Kyat', 'MMK', 'K', '1.00', '0', '', '0', NULL, NULL),
('72', 'Macanese Pataca', 'MOP', 'MOP$', '1.00', '0', '', '0', NULL, NULL),
('73', 'Mauritian Rupee', 'MUR', 'Rs', '1.00', '0', '', '0', NULL, NULL),
('74', 'Mexican Peso', 'MXN', '$', '1.00', '0', '', '0', NULL, NULL),
('75', 'Malaysian Ringgit', 'MYR', 'RM', '1.00', '0', '', '0', NULL, NULL),
('76', 'Mozambican Metical', 'MZN', 'MT', '1.00', '0', '', '0', NULL, NULL),
('77', 'Namibian Dollar', 'NAD', 'N$', '1.00', '0', '', '0', NULL, NULL),
('78', 'Nigerian Naira', 'NGN', '₦', '1.00', '0', '', '0', NULL, NULL),
('79', 'Nicaraguan Córdoba', 'NIO', 'C$', '1.00', '0', '', '0', NULL, NULL),
('80', 'Norwegian Krone', 'NOK', 'kr', '1.00', '0', '', '0', NULL, NULL),
('81', 'Nepalese Rupee', 'NPR', 'Re.', '1.00', '0', '', '0', NULL, NULL),
('82', 'New Zealand Dollar', 'NZD', '$', '1.00', '0', '', '0', NULL, NULL),
('83', 'Omani Rial', 'OMR', 'ر.ع.‏', '1.00', '0', '', '0', NULL, NULL),
('84', 'Panamanian Balboa', 'PAB', 'B/.', '1.00', '0', '', '0', NULL, NULL),
('85', 'Peruvian Nuevo Sol', 'PEN', 'S/', '1.00', '0', '', '0', NULL, NULL),
('86', 'Philippine Peso', 'PHP', '₱', '1.00', '0', '', '0', NULL, NULL),
('87', 'Pakistani Rupee', 'PKR', 'Rs', '1.00', '0', '', '0', NULL, NULL),
('88', 'Polish Zloty', 'PLN', 'zł', '1.00', '0', '', '0', NULL, NULL),
('89', 'Paraguayan Guarani', 'PYG', '₲', '1.00', '0', '', '0', NULL, NULL),
('90', 'Qatari Rial', 'QAR', 'ر.ق.‏', '1.00', '0', '', '0', NULL, NULL),
('91', 'Romanian Leu', 'RON', 'lei', '1.00', '0', '', '0', NULL, NULL),
('92', 'Serbian Dinar', 'RSD', 'din.', '1.00', '0', '', '0', NULL, NULL),
('93', 'Russian Ruble', 'RUB', '₽.', '1.00', '0', '', '0', NULL, NULL),
('94', 'Rwandan Franc', 'RWF', 'FRw', '1.00', '0', '', '0', NULL, NULL),
('95', 'Saudi Riyal', 'SAR', 'ر.س.‏', '1.00', '0', '', '0', NULL, NULL),
('96', 'Sudanese Pound', 'SDG', 'ج.س.', '1.00', '0', '', '0', NULL, NULL),
('97', 'Swedish Krona', 'SEK', 'kr', '1.00', '0', '', '0', NULL, NULL),
('98', 'Singapore Dollar', 'SGD', '$', '1.00', '0', '', '0', NULL, NULL),
('99', 'Somali Shilling', 'SOS', 'Sh.so.', '1.00', '0', '', '0', NULL, NULL),
('100', 'Syrian Pound', 'SYP', 'LS‏', '1.00', '0', '', '0', NULL, NULL),
('101', 'Thai Baht', 'THB', '฿', '38.00', '1', '', '1', NULL, '2022-10-23 11:05:35'),
('102', 'Tunisian Dinar', 'TND', 'د.ت‏', '1.00', '0', '', '0', NULL, NULL),
('103', 'Tongan Paʻanga', 'TOP', 'T$', '1.00', '0', '', '0', NULL, NULL),
('104', 'Turkish Lira', 'TRY', '₺', '1.00', '0', '', '0', NULL, NULL),
('105', 'Trinidad and Tobago Dollar', 'TTD', '$', '1.00', '0', '', '0', NULL, NULL),
('106', 'New Taiwan Dollar', 'TWD', 'NT$', '1.00', '0', '', '0', NULL, NULL),
('107', 'Tanzanian Shilling', 'TZS', 'TSh', '1.00', '0', '', '0', NULL, NULL),
('108', 'Ukrainian Hryvnia', 'UAH', '₴', '1.00', '0', '', '0', NULL, NULL),
('109', 'Ugandan Shilling', 'UGX', 'USh', '1.00', '0', '', '0', NULL, NULL),
('110', 'Uruguayan Peso', 'UYU', '$', '1.00', '0', '', '0', NULL, NULL),
('111', 'Uzbekistan Som', 'UZS', 'so\'m', '1.00', '0', '', '0', NULL, NULL),
('112', 'Venezuelan Bolívar', 'VEF', 'Bs.F.', '1.00', '0', '', '0', NULL, NULL),
('113', 'Vietnamese Dong', 'VND', '₫', '1.00', '0', '', '0', NULL, NULL),
('114', 'CFA Franc BEAC', 'XAF', 'FCFA', '1.00', '0', '', '0', NULL, NULL),
('115', 'CFA Franc BCEAO', 'XOF', 'CFA', '1.00', '0', '', '0', NULL, NULL),
('116', 'Yemeni Rial', 'YER', '﷼‏', '1.00', '0', '', '0', NULL, NULL),
('117', 'South African Rand', 'ZAR', 'R', '1.00', '0', '', '0', NULL, NULL),
('118', 'Zambian Kwacha', 'ZMK', 'ZK', '1.00', '0', '', '0', NULL, NULL),
('119', 'Zimbabwean Dollar', 'ZWL', 'Z$', '1.00', '0', '', '0', NULL, NULL);


/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;