OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t#30009:fix views
[pettanr/pettanr.git]
/
db
/
migrate
/
20121106083518_add_caption_on_panel_pictures.rb
diff --git a/db/migrate/20121106083518_add_caption_on_panel_pictures.rb
b/db/migrate/20121106083518_add_caption_on_panel_pictures.rb
new file mode 100644
(file)
index 0000000..
178c493
--- /dev/null
+++ b/
db/migrate/20121106083518_add_caption_on_panel_pictures.rb
@@ -0,0
+1,9
@@
+class AddCaptionOnPanelPictures < ActiveRecord::Migration
+ def up
+ add_column :panel_pictures, :caption, :string
+ end
+
+ def down
+ remove_column :panel_pictures, :caption
+ end
+end