frankfurter/db/migrate/001_create_currencies.rb
2014-03-14 12:04:47 +00:00

12 lines
192 B
Ruby

Sequel.migration do
change do
create_table :currencies do
Date :date
String :iso_code
Float :rate
index [:date, :iso_code], unique: true
end
end
end