mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Create association of translations with their problems
This commit is contained in:
5
db/migrate/20141214221259_add_problem_to_translation.rb
Normal file
5
db/migrate/20141214221259_add_problem_to_translation.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddProblemToTranslation < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :translations, :problem, index: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user