Mercurial > hg > soundsoftware-site
annotate db/migrate/20101123161346_create_ssamr_user_details.rb @ 498:87bfac1079fd bug_94
If a search matches any project titles (and projects are in scope for the search), show those projects separately at the start of the search results provided there are no more than 5 of them (further fix to bug #94)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 13 Jul 2011 12:45:24 +0100 |
parents | 1d072f771b4d |
children |
rev | line source |
---|---|
luisf@56 | 1 class CreateSsamrUserDetails < ActiveRecord::Migration |
luisf@56 | 2 def self.up |
luisf@56 | 3 create_table :ssamr_user_details do |t| |
luisf@56 | 4 t.integer :user_id |
luisf@56 | 5 t.text :description |
luisf@56 | 6 t.text :university |
luisf@56 | 7 end |
luisf@56 | 8 end |
luisf@56 | 9 |
luisf@56 | 10 def self.down |
luisf@56 | 11 drop_table :ssamr_user_details |
luisf@56 | 12 end |
luisf@56 | 13 |
luisf@56 | 14 end |