add submitter account_id

This commit is contained in:
Pete Matsyburka committed 2024-08-19 19:51:24 +03:00
1 parent c04483f0ea
commit d63f62109b
6 files changed
+29 -9

No files matched your search

@@ -0,0 +1,9 @@
# frozen_string_literal: true
class AddAccountIdToSubmitters < ActiveRecord::Migration[7.1]
def change
add_reference :submitters, :account, index: false, null: true
add_index :submitters, %i[account_id id]
end
end