mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-02-21 19:41:16 +00:00
12 lines
214 B
Ruby
12 lines
214 B
Ruby
class AddRecordable < ActiveRecord::Migration
|
|
def self.up
|
|
change_table :servers do |m|
|
|
m.remove :match_id
|
|
m.string :recordable_type
|
|
m.integer :recordable_id
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
end
|
|
end
|