mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
11 lines
No EOL
280 B
Ruby
11 lines
No EOL
280 B
Ruby
class AddMissingIdColumns < ActiveRecord::Migration
|
|
def up
|
|
add_column :category_featured_topics, :id, :primary_key
|
|
add_column :topic_users, :id, :primary_key
|
|
end
|
|
|
|
def down
|
|
remove_column :category_featured_topics, :id
|
|
remove_column :topic_users, :id
|
|
end
|
|
end |