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/20260421120000_add_visibili...

9 lines
249 B

# frozen_string_literal: true
class AddVisibilityToTemplates < ActiveRecord::Migration[7.2]
def change
add_column :templates, :visibility, :string, default: 'private', null: false
add_index :templates, %i[account_id visibility]
end
end