Sha256: 0a34d26a603412c38082ceb94a1e1013825f56246b7d8f6454499197a346d645
Contents?: true
Size: 668 Bytes
Versions: 7
Compression:
Stored size: 668 Bytes
Contents
class CreateMetricsTable < ActiveRecord::Migration def self.up create_table :system_metrics, :force => true do |t| t.column :name, :string, :null => false t.column :started_at, :datetime, :null => false t.column :transaction_id, :string t.column :payload, :text t.column :duration, :float, :null => false t.column :exclusive_duration, :float, :null => false t.column :request_id, :integer t.column :parent_id, :integer t.column :action, :string, :null => false t.column :category, :string, :null => false end # TODO: Add indexes end def self.down drop_table :system_metrics end end
Version data entries
7 entries across 7 versions & 1 rubygems