mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove Rails 5 deprecation warning.
This commit is contained in:
@@ -6,7 +6,7 @@ class AddPostNumberToBookmarks < ActiveRecord::Migration
|
||||
t.integer :user_id, null: false
|
||||
t.integer :forum_thread_id, null: false
|
||||
t.integer :post_number, null: false
|
||||
t.timestamps
|
||||
t.timestamps null: false
|
||||
end
|
||||
|
||||
add_index :bookmarks, [:user_id, :forum_thread_id, :post_number], unique: true
|
||||
|
||||
Reference in New Issue
Block a user