mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +01:00
12 lines
192 B
Ruby
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
|