Sha256: bbff476623d6bded172944e128a272f9304c627c3545dabcdd38abc7164a8fc6
Contents?: true
Size: 487 Bytes
Versions: 7
Compression:
Stored size: 487 Bytes
Contents
class Add<%= class_name %>Table < ActiveRecord::Migration def self.up create_table :<%= plural_name %>, :force => true do |t| t.string :group_id t.string :exception_class t.string :controller_path t.string :action_name t.text :message t.text :backtrace t.text :request t.datetime :created_at end add_index :<%= plural_name %>, :group_id end def self.down drop_table :<%= plural_name %> end end
Version data entries
7 entries across 7 versions & 1 rubygems