2012-03-22 17:11:12 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-01-25 08:31:49 +00:00
|
|
|
class CreateActivityFeeds < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
create_table :activity_feeds do |t|
|
|
|
|
t.integer :user_id, :null => false
|
2012-01-26 17:04:58 +00:00
|
|
|
t.string :kind
|
|
|
|
t.text :data
|
2012-01-25 08:31:49 +00:00
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_table :activity_feeds
|
|
|
|
end
|
|
|
|
end
|