This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
Watch
1
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2025-02-14 07:14:55 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
discourse
/
db
/
migrate
/
20120427150624_add_user_id_index_to_posts.rb
6 lines
113 B
Ruby
Raw
Normal View
History
Unescape
Escape
Fix all the errors to get our tests green on Rails 5.1.
2017-08-31 12:06:56 +08:00
class
AddUserIdIndexToPosts
<
ActiveRecord
::
Migration
[
4
.
2
]
Initial release of Discourse
2013-02-05 14:16:51 -05:00
def
change
add_index
:posts
,
:user_id
end
end
Reference in New Issue
Copy Permalink