mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
393 B
12 lines
393 B
# frozen_string_literal: true
|
|
|
|
class AddTeamIdToResources < ActiveRecord::Migration[8.0]
|
|
def change
|
|
add_reference :users, :team, foreign_key: true
|
|
add_reference :templates, :team, foreign_key: true
|
|
add_reference :submissions, :team, foreign_key: true
|
|
add_reference :submitters, :team, foreign_key: true
|
|
add_reference :template_folders, :team, foreign_key: true
|
|
end
|
|
end
|