mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 12:32:30 +01:00
14 lines
223 B
Ruby
14 lines
223 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|