修改索引迁移文件不能执行的问题
This commit is contained in:
parent
615184fc38
commit
a7b2ac860b
|
@ -31,7 +31,7 @@
|
||||||
<!-- <#%= link_to (file.is_public? ? "公开":"私有"),"javascript:void(0)",:class=>"f_l re_open" %> -->
|
<!-- <#%= link_to (file.is_public? ? "公开":"私有"),"javascript:void(0)",:class=>"f_l re_open" %> -->
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(l(:label_slected_to_project),quote_resource_show_project_project_file_path(project,file),:class => "f_l re_select",:remote => true) if has_project?(User.current,file) %>
|
<%= link_to(l(:label_slected_to_project),quote_resource_show_project_project_file_path(frrrffcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc443333333333333333333),:class => "f_l re_select",:remote => true) if has_project?(User.current,file) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class AddIndexToHomeworkattachCourseId < ActiveRecord::Migration
|
class AddIndexToHomeworkforcourseCourseId < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
add_index(:homework_for_courses,:course_id)
|
add_index(:homework_for_courses,:course_id)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue