mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Drop Rails3 support
This commit is contained in:
@@ -19,12 +19,6 @@ from
|
||||
|
||||
) as X
|
||||
where calc <> p.post_number and X.id = p.id')
|
||||
|
||||
# automagically does this
|
||||
unless rails4?
|
||||
remove_index :posts, :forum_thread_id_and_post_number
|
||||
add_index :posts, [:topic_id, :post_number], unique: true
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
|
||||
Reference in New Issue
Block a user