12 lines
259 B
Ruby
12 lines
259 B
Ruby
class CreateFollowedTopics < ActiveRecord::Migration
|
|
def change
|
|
create_table :followed_topics do |t|
|
|
t.references :forum_user, index: true
|
|
t.references :forum_topic, index: true
|
|
t.boolean :enabled
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|