mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 23:58:12 -05:00
Add primary key id to category_featured_topics and topic_users
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user