To edit pages or tickets please login with username/password: aaf/aaf

Changeset 272 for trunk/demo/db

Show
Ignore:
Timestamp:
11/17/07 20:36:16 (1 year ago)
Author:
jk
Message:

added search to smoke test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demo/db/migrate/006_create_stats.rb

    r271 r272  
    22  def self.up 
    33    create_table :stats do |t| 
    4       t.integer :process_id, :records, :processing_time, :open_connections 
     4      t.integer :process_id, :processing_time, :open_connections 
     5      t.string :kind, :info 
    56      t.datetime :created_at 
    67    end 
     8    add_index :stats, 'kind' 
    79  end 
    810 
    911  def self.down 
     12    remove_index :stats, 'kind' 
    1013    drop_table :stats 
    1114  end 

To edit pages or tickets please login with username/password: aaf/aaf