Create Problem model with reference to current translation

This commit is contained in:
pfischbeck committed 2014-12-14 23:11:40 +01:00
1 parent e13b82ad1f
commit 79ed82cfd8
6 files changed
+38 -1

No files matched your search

@@ -0,0 +1,7 @@
class CreateProblemsAgain < ActiveRecord::Migration
def change
create_table :problems do |t|
t.timestamps
end
end
end
@@ -0,0 +1,5 @@
class AddTranslationToProblem < ActiveRecord::Migration
def change
add_reference :problems, :translation, index: true
end
end