Sha256: 1141834503814546eb7dc427dd66b2df8e443f8b425dfc528bb54c3393cabc25
Contents?: true
Size: 351 Bytes
Versions: 38
Compression:
Stored size: 351 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %> def change create_table :lockbox_audits do |t| t.references :subject, polymorphic: true t.references :viewer, polymorphic: true t.<%= data_type %> :data t.string :context t.string :ip t.datetime :created_at end end end
Version data entries
38 entries across 38 versions & 1 rubygems