You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trustieforge/db/migrate/20150206023634_create_forge...

14 lines
334 B

class CreateForgeActivities < ActiveRecord::Migration
def change
create_table :forge_activities do |t|
t.integer :user_id
t.integer :project_id
t.references :forge_act, polymorphic: true, index: true
t.integer :org_id
t.timestamps
end
add_index :forge_activities ,:forge_act_id
end
end