adjust migration

This commit is contained in:
Pete Matsyburka committed 2024-10-23 22:57:33 +03:00
1 parent 4332b4ebb8
commit 90d86b58c2
6 files changed
+48 -30

No files matched your search

@@ -3,7 +3,7 @@
class CreateCompletedSubmittersAndDocuments < ActiveRecord::Migration[7.2]
def change
create_table :completed_submitters do |t|
t.bigint :submitter_id, null: false
t.bigint :submitter_id, null: false, index: true
t.bigint :submission_id, null: false
t.bigint :account_id, null: false, index: true
t.bigint :template_id, null: false