Mercurial > hg > soundsoftware-site
annotate .svn/pristine/1d/1dd21beebda1cb6cbb50dd1ef6a53e3977411fdf.svn-base @ 1535:e2c122809c5c live
Update download count only after sending file (if send_file fails, does it throw and avoid this? unsure)
author | Chris Cannam |
---|---|
date | Wed, 11 Feb 2015 16:16:07 +0000 |
parents | dffacf8a6908 |
children |
rev | line source |
---|---|
Chris@1517 | 1 class AddCustomFieldsDescription < ActiveRecord::Migration |
Chris@1517 | 2 def up |
Chris@1517 | 3 add_column :custom_fields, :description, :text |
Chris@1517 | 4 end |
Chris@1517 | 5 |
Chris@1517 | 6 def down |
Chris@1517 | 7 remove_column :custom_fields, :description |
Chris@1517 | 8 end |
Chris@1517 | 9 end |