You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trustieforge/db/migrate/20130810014337_create_journ...

14 lines
346 B

class CreateJournalReplies < ActiveRecord::Migration
def change
create_table :journal_replies, :id => false do |t|
t.integer :journal_id
t.integer :user_id
t.integer :reply_id
end
add_index :journal_replies, :user_id
add_index :journal_replies, :journal_id
add_index :journal_replies, :reply_id
end
end