Sha256: 511311c6643d56aab4e26e9ee58ee354b166da4e1ed1f3ab246ca6cae576d902
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
class CreateAudits < ActiveRecord::Migration def change create_table :audits do |t| t.references :auditable, null: false, index: true, polymorphic: true t.references :user, index: true t.integer :source, null: false, default: 0 t.integer :version, null: false, default: 0 t.string :action, null: false t.text :revisions t.text :comment t.string :remote_ip t.string :remote_uuid t.timestamps null: false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_audit-0.1.0 | lib/generators/active_audit/templates/install_migration.rb |