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#29875:up;sbt sp import update
[pettanr/pettanr.git]
/
db
/
migrate
/
20121017105739_add_credit_pictures_on_licenses.rb
diff --git a/db/migrate/20121017105739_add_credit_pictures_on_licenses.rb
b/db/migrate/20121017105739_add_credit_pictures_on_licenses.rb
new file mode 100644
(file)
index 0000000..
4cc6317
--- /dev/null
+++ b/
db/migrate/20121017105739_add_credit_pictures_on_licenses.rb
@@ -0,0
+1,9
@@
+class AddCreditPicturesOnLicenses < ActiveRecord::Migration
+ def up
+ add_column :licenses, :credit_pictures, :string
+ end
+
+ def down
+ remove_column :licenses, :credit_pictures
+ end
+end