Sha256: 23d8893e0474472e8fbabfaaa4dca41321a6308ec2b2bc51bf078d62d80ffc82

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

class CreateServerlogs < ActiveRecord::Migration
  def self.up
    create_table :serverlogs do |t|
      t.integer :orderdetail_id,    :null=>false
      t.integer :server_id,         :null=>false
      t.text    :data_sent
      t.text    :data_recieved
      t.string  :status, :limit=>255
      t.timestamps
    end
  end

  def self.down
    drop_table :serverlogs
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 db/migrate/20090519070248_create_serverlogs.rb
smukherjee-openbill-0.1.6 db/migrate/20090519070248_create_serverlogs.rb
smukherjee-openbill-0.1.7 db/migrate/20090519070248_create_serverlogs.rb
openbill-0.1.5 db/migrate/20090519070248_create_serverlogs.rb
openbill-0.1.6 db/migrate/20090519070248_create_serverlogs.rb