scinote-web/db/migrate/20230904080206_add_name_column_to_text_component.rb
2023-09-04 14:13:29 +02:00

8 lines
260 B
Ruby

# frozen_string_literal: true
class AddNameColumnToTextComponent < ActiveRecord::Migration[7.0]
def change
add_column :result_texts, :name, :string, default: '', index: true
add_column :step_texts, :name, :string, default: '', index: true
end
end