donphan/db/migrate/20160222122600_create_strea...

12 lines
242 B
Ruby
Raw Normal View History

2016-02-22 15:00:20 +00:00
class CreateStreamEntries < ActiveRecord::Migration
def change
create_table :stream_entries do |t|
t.integer :account_id
t.integer :activity_id
t.string :activity_type
t.timestamps null: false
end
end
end