Event entity created
This commit is contained in:
parent
34e1580184
commit
a847501fd2
9 changed files with 75 additions and 3 deletions
13
db/migrate/20120228130210_create_events.rb
Normal file
13
db/migrate/20120228130210_create_events.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
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 :title, :null => true
|
||||
t.text :data, :null => true
|
||||
t.integer :project_id, :null => true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue