mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-03 19:24:48 +08:00
5 lines
173 B
Ruby
5 lines
173 B
Ruby
class AddGroupUserRoleToProjects < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_reference :projects, :group_user_role, foreign_key: { to_table: :user_roles }
|
|
end
|
|
end
|