view db/migrate/20101216140621_create_institutions.rb @ 1573:8edb54e29f00 dockerise

Minor tweaks
author Chris Cannam
date Thu, 03 Aug 2017 20:20:18 +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