nyx/tests/dynamic_fixtures/migration/rails/benign.rb

13 lines
272 B
Ruby
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
# Phase 21 — Rails migration benign control.
# class AddIndex < ActiveRecord::Migration[7.0]
class AddIndex
def up
add_column :users, :name, :string
end
def add_column(table, name, type)
puts "MIGRATION_ADD_COLUMN: #{table}.#{name} :: #{type}"
end
end