Sha256: f988dcfece86eb9a0fb6182ff0b293fd9a7aae687966a59adeafd719fed713e9

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

class CreateOptions < ActiveRecord::Migration
  def self.up
    create_table :options do |t|
	  t.integer :userfieldname_id,  :null => false
	  t.string	:option, :limit=>255, :null => false
	  t.string	:value,  :limit=>255, :null => false
      t.timestamps
    end
  end

  def self.down
    drop_table :options
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 db/migrate/20090526092119_create_options.rb
smukherjee-openbill-0.1.6 db/migrate/20090526092119_create_options.rb
smukherjee-openbill-0.1.7 db/migrate/20090526092119_create_options.rb
openbill-0.1.5 db/migrate/20090526092119_create_options.rb
openbill-0.1.6 db/migrate/20090526092119_create_options.rb