Mercurial > hg > soundsoftware-site
view db/migrate/083_add_messages_sticky.rb @ 764:3e39fb084fa1 cannam
Merge from branch feature_14
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 11 Nov 2011 17:27:00 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class AddMessagesSticky < ActiveRecord::Migration def self.up add_column :messages, :sticky, :integer, :default => 0 end def self.down remove_column :messages, :sticky end end