forked from bofh/fetsite
8 lines
184 B
Ruby
8 lines
184 B
Ruby
class AddParentToAttachment < ActiveRecord::Migration
|
|
def change
|
|
change_table :attachments do |t|
|
|
t.references :parent, :polymorphic=>{:default=>'Thema'}
|
|
end
|
|
end
|
|
end
|