comparison db/migrate/20101216140621_create_institutions.rb @ 247:73ff0e6a11b1 cannam

* Merge from branch cannam-pre-20110113-merge
author Chris Cannam
date Thu, 03 Mar 2011 12:11:53 +0000
parents 596803cb34fc
children
comparison
equal deleted inserted replaced
246:eeebe205a056 247:73ff0e6a11b1
1 class CreateInstitutions < ActiveRecord::Migration
2 def self.up
3 create_table :institutions do |t|
4 t.string :name
5
6 t.timestamps
7 end
8 end
9
10 def self.down
11 drop_table :institutions
12 end
13 end