Observe issue, merge request, note creation - create event

This commit is contained in:
Dmitriy Zaporozhets 2012-02-28 16:01:14 +02:00
parent a847501fd2
commit dcdb2fdfdb
12 changed files with 130 additions and 25 deletions

View file

@ -1,8 +1,9 @@
class CreateEvents < ActiveRecord::Migration
def change
create_table :events do |t|
t.string :data_type, :null => true
t.string :data_id, :null => true
t.string :target_type, :null => true
t.integer :target_id, :null => true
t.string :title, :null => true
t.text :data, :null => true
t.integer :project_id, :null => true