view db/migrate/20101216140621_create_institutions.rb @ 921:39c318bf7263 cannam_integration

Rename the just-restored files as well
author Chris Cannam
date Tue, 06 Mar 2012 14:21:25 +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