mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
e5815737c1
- bumped gems - rm bots - rm pry byebug - added rubocop-shopify and corrected generated warnings
18 lines
263 B
Ruby
18 lines
263 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
up do
|
|
create_table :currencies do
|
|
Date :date
|
|
String :iso_code
|
|
Float :rate
|
|
|
|
index [:date, :iso_code], unique: true
|
|
end
|
|
end
|
|
|
|
down do
|
|
drop_table :currencies
|
|
end
|
|
end
|