This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
mirror of
https://github.com/discourse/discourse.git
Watch
1
Star
0
Fork
You've already forked discourse
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8e12846b9c
discourse
/
db
/
migrate
/
20120427150624_add_user_id_...
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 00:06:56 -04: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