Cross Reference:
xref
: /
ontohub
/
db
/
migrate
/
20130110233043_add_user_id_to_languages.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
20130110233043_add_user_id_to_languages.rb revision 2b6376a080af434ed7e62eefc7ad7dcc8db140b9
class
AddUserIdToLanguages
<
ActiveRecord
::
Migration
def
change
add_column
:
languages
, :
user_id
, :
integer
add_foreign_key
:
languages
, :
users
end
end