repo.or.cz
/
askyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
;]
[askyou.git]
/
db
/
migrate
/
083_add_messages_sticky.rb
blob
8fd5d2ce33a2d5d252366896b17518b4a152fbcb
1
class AddMessagesSticky < ActiveRecord::Migration
2
def self.up
3
add_column :messages, :sticky, :integer, :default => 0
4
end
5
6
def self.down
7
remove_column :messages, :sticky
8
end
9
end