cirandas.net

ref: master

db/migrate/20100619121512_create_certifiers.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
class CreateCertifiers < ActiveRecord::Migration
  def self.up
    create_table :certifiers do |t|
      t.string :name
      t.string :description
      t.string :link
      t.references :environment

      t.timestamps
    end
  end

  def self.down
    drop_table :certifiers
  end
end