OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
try sort
[pettanr/pettanr.git]
/
db
/
migrate
/
20130611092857_remove_index_t_on_panel_pictures.rb
1
class RemoveIndexTOnPanelPictures < ActiveRecord::Migration
2
def up
3
remove_index "panel_pictures", :name => "altered_panel_pictures_idt"
4
end
5
6
def down
7
add_index "panel_pictures", ["panel_id", "t"], :name => "altered_panel_pictures_idt", :unique => true
8
end
9
end