view db/migrate/20101216140621_create_institutions.rb @ 884:38713bdc99a0 bug_99

Close obsolete branch bug_99
author Chris Cannam
date Tue, 22 Mar 2011 15:31:11 +0000
parents 596803cb34fc
children
line wrap: on
line source
class CreateInstitutions < ActiveRecord::Migration
  def self.up
    create_table :institutions do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :institutions
  end
end