view db/migrate/20101216140621_create_institutions.rb @ 538:e25248ba597c feature_36

Fixed project_id parameter bug related to Issue #217.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 27 Jul 2011 16:49:38 +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