adn-repostmentions/db/migrate/20131208115327_create_reposts.rb

12 lines
238 B
Ruby

class CreateReposts < ActiveRecord::Migration
def change
create_table :reposts do |t|
t.string :mentioned
t.bigint :postid
t.bigint :repostid
t.timestamps
end
add_index :reposts, :repostid
end
end