view db/migrate/20101216140621_create_institutions.rb @ 1384:b51b5ae3734c luisf

Merge
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 20 Sep 2013 19:04:25 +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