mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 16:46:42 +01:00
5 lines
182 B
Ruby
5 lines
182 B
Ruby
class AddAuthorToTranslations < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_reference :translations, :author, index: true, null: true, foreign_key: {to_table: :users}
|
|
end
|
|
end |