mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Fix Rubocop offense
This commit is contained in:
parent
7922fc7131
commit
0669e74f88
@ -1,7 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Sequel.migration do
|
Sequel.migration do
|
||||||
change do
|
up do
|
||||||
create_table :currencies do
|
create_table :currencies do
|
||||||
Date :date
|
Date :date
|
||||||
String :iso_code
|
String :iso_code
|
||||||
@ -10,4 +10,8 @@ Sequel.migration do
|
|||||||
index %i[date iso_code], unique: true
|
index %i[date iso_code], unique: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
down do
|
||||||
|
drop_table :currencies
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user