Commit 054c9415 by John Donnal

fixed migration bug

parent bc64f00a
class CreateDbDecimations < ActiveRecord::Migration[5.0]
def change
create_table :db_decimations do |t|
t.integer :start_time, :int, :limit=>8
t.integer :end_time, :int, :limit=>8
t.integer :total_rows, :int, :limit=>8
t.integer :total_time, :int, :limit=>8
t.integer :db_file_id, :int
t.integer :start_time, :limit=>8
t.integer :end_time, :limit=>8
t.integer :total_rows, :limit=>8
t.integer :total_time, :limit=>8
t.integer :db_file_id
t.timestamps null: false
end
end
......
class RemoveIntFromDbDecimations < ActiveRecord::Migration[5.0]
def change
remove_column :db_decimations, :int
# fixed in 20160524023257_create_db_decimations
# remove_column :db_decimations, :int
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment