mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Create Problem model with reference to current translation
This commit is contained in:
5
db/migrate/20141214220056_add_translation_to_problem.rb
Normal file
5
db/migrate/20141214220056_add_translation_to_problem.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddTranslationToProblem < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :problems, :translation, index: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user