view db/migrate/20101216140621_create_institutions.rb @ 865:49a3585c24b1 bug_133

Close obsolete branch bug_133
author Chris Cannam
date Wed, 11 May 2011 11:39:27 +0100
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