Fixes active record 7 compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class CreatesPrices << ActiveRecord::Migration[4.2]
|
||||
class CreatesPrices < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
create_table :prices do |t|
|
||||
t.datetime :hour
|
||||
@@ -7,4 +7,5 @@ class CreatesPrices << ActiveRecord::Migration[4.2]
|
||||
end
|
||||
|
||||
add_index :prices, :hour
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user