view db/migrate/20101216140621_create_institutions.rb @ 698:bd88afe21831 feature_36

Minor layout fixes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Mon, 19 Sep 2011 16:36:33 +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