Sha256: 8340e967181626845b7bcde0f716c31b3e9a741a68be66d90c76473bb2ed5428
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
class AddAuditLogItemOldValue < ActiveRecord::Migration def up unless AuditLogItem.columns.include?(:audit_log_item_old_value) add_column :audit_log_items, :audit_log_item_old_value, :string end end def down if AuditLogItem.columns.include?(:audit_log_item_old_value) remove_column :audit_log_items, :audit_log_item_old_value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
erp_tech_svcs-4.0.0 | db/migrate/20131113213843_add_audit_log_item_old_value.rb |