Sha256: dfb1e0711e47c57f342a3c8a4ffb0a1d0d453bdbb0cd5a47ee262de4f5e1ba50
Contents?: true
Size: 550 Bytes
Versions: 3
Compression:
Stored size: 550 Bytes
Contents
# frozen_string_literal: true module SchemaPlus module Core module ActiveRecord module Migration module CommandRecorder def add_column(table_name, column_name, type, **options) SchemaMonkey::Middleware::Migration::Column.start(caller: self, operation: :record, table_name: table_name, column_name: column_name, type: type, options: options.deep_dup) do |env| super env.table_name, env.column_name, env.type, **env.options end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems