gitlabhq/db/migrate/20120228130210_create_events.rb

14 lines
322 B
Ruby
Raw Normal View History

2012-02-28 14:09:23 +01:00
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