Sha256: 5c4a1866f605076af4a5515ceee116a9095a1422151363c5c2516eb196a20622
Contents?: true
Size: 734 Bytes
Versions: 12
Compression:
Stored size: 734 Bytes
Contents
CREATE TABLE `currency_updates` ( `id` int(11) NOT NULL AUTO_INCREMENT, `base_currency` varchar(3) NOT NULL, `conversion_date` datetime NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, PRIMARY KEY (`id`), KEY `index_base_currency` (`base_currency`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;; CREATE TABLE `currency_rates` ( `id` int(11) NOT NULL AUTO_INCREMENT, `target_currency` varchar(3) NOT NULL, `rate` decimal(10,4) NOT NULL, `currency_update_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, PRIMARY KEY (`id`), KEY `index_currency_update_id` (`currency_update_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;;
Version data entries
12 entries across 12 versions & 1 rubygems