Mercurial > hg > soundsoftware-site
annotate db/migrate/20101216140621_create_institutions.rb @ 1270:b2f7f52a164d redmine-2.2-integration
Fix project members page: update editlist partial following changes to project member settings partial; update mailer class and templates; make editlist forms not be remote (we just reload page)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 02 May 2013 16:24:09 +0100 |
parents | 596803cb34fc |
children |
rev | line source |
---|---|
luis@98 | 1 class CreateInstitutions < ActiveRecord::Migration |
luis@98 | 2 def self.up |
luis@98 | 3 create_table :institutions do |t| |
luis@98 | 4 t.string :name |
luis@98 | 5 |
luis@98 | 6 t.timestamps |
luis@98 | 7 end |
luis@98 | 8 end |
luis@98 | 9 |
luis@98 | 10 def self.down |
luis@98 | 11 drop_table :institutions |
luis@98 | 12 end |
luis@98 | 13 end |