Sha256: a497bef75879010ff532a71d8192633600781a9940bc9ab77c116399fed9d064

Contents?: true

Size: 293 Bytes

Versions: 5

Compression:

Stored size: 293 Bytes

Contents

class CreateRegistrars < ActiveRecord::Migration
  def self.up
    create_table :registrars do |t|
      t.integer :account_id,      :null=>false
      t.string  :registrar_name,  :limit=>255, :null=>false
      t.timestamps
    end
  end

  def self.down
    drop_table :registrars
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 db/migrate/20090519051509_create_registrars.rb
smukherjee-openbill-0.1.6 db/migrate/20090519051509_create_registrars.rb
smukherjee-openbill-0.1.7 db/migrate/20090519051509_create_registrars.rb
openbill-0.1.5 db/migrate/20090519051509_create_registrars.rb
openbill-0.1.6 db/migrate/20090519051509_create_registrars.rb