mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Show author names in problem and translation views
This commit is contained in:
5
db/migrate/20190204164033_add_author_to_translations.rb
Normal file
5
db/migrate/20190204164033_add_author_to_translations.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddAuthorToTranslations < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_reference :translations, :author, index: true, null: true, foreign_key: {to_table: :users}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user