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.
docuseal/db/migrate/20260327100000_create_submi...

18 lines
390 B

# frozen_string_literal: true
class CreateSubmitterVersions < ActiveRecord::Migration[8.1]
def change
create_table :submitter_versions do |t|
t.references :submitter, null: false, foreign_key: true
t.string :slug, null: false
t.string :email
t.string :name
t.string :phone
t.timestamps
end
add_index :submitter_versions, :slug
end
end