rosa-build/db/migrate/20120124065207_create_activ...

17 lines
306 B
Ruby
Raw Normal View History

# -*- encoding : utf-8 -*-
class CreateActivityFeeds < ActiveRecord::Migration
def self.up
create_table :activity_feeds do |t|
t.integer :user_id, :null => false
t.string :kind
t.text :data
t.timestamps
end
end
def self.down
drop_table :activity_feeds
end
end