mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
6 lines
173 B
Ruby
6 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
|