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 0ae77dd0f6698fa1948d1c6c973cc64d6df9e8d6
class
AddUserIdToLanguages
<
ActiveRecord
::
Migration
def
change
add_column
:
languages
, :
user_id
, :
integer
, :
null
=>
false
add_foreign_key
:
languages
, :
users
end
end