Observe issue, merge request, note creation - create event
This commit is contained in:
parent
a847501fd2
commit
dcdb2fdfdb
12 changed files with 130 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue