OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
v07
[pettanr/pettanr.git]
/
db
/
migrate
/
20130726024038_add_writing_format_id_on_speech.rb
1
class AddWritingFormatIdOnSpeech < ActiveRecord::Migration
2
def up
3
add_column :speeches, :writing_format_id, :integer, :null => false, :default => 1
4
end
5
6
def down
7
remove_column :speeches, :writing_format_id
8
end
9
end