Sha256: 6a44c4e98c8e965cf96d393c474e4efda120983a024f6bf1ef8abdf8ffe2221b
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
module ActiveRecord module ConnectionAdapters class AbstractMysqlAdapter < AbstractAdapter def add_authorstamps_sql(table_name) [add_column_sql(table_name, :created_by, :string), add_column_sql(table_name, :updated_by, :string)] end def remove_authorstamps_sql(table_name) [remove_column_sql(table_name, :updated_by), remove_column_sql(table_name, :created_by)] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ar-audit-tracer-2.0.1 | lib/active_record/connection_adapters/abstract_mysql_adapter.rb |
ar-audit-tracer-2.0.0 | lib/active_record/connection_adapters/abstract_mysql_adapter.rb |