mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 16:41:18 +08:00
10 lines
241 B
Ruby
10 lines
241 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class RemoveFksFromBookmarks < ActiveRecord::Migration[6.0]
|
||
|
def change
|
||
|
remove_foreign_key :bookmarks, :topics
|
||
|
remove_foreign_key :bookmarks, :posts
|
||
|
remove_foreign_key :bookmarks, :users
|
||
|
end
|
||
|
end
|