|
|
@ -26,6 +26,7 @@ class InitializationDataController < ApplicationController
|
|
|
|
School.where("id > 1").destroy_all
|
|
|
|
School.where("id > 1").destroy_all
|
|
|
|
# 清理实训评论
|
|
|
|
# 清理实训评论
|
|
|
|
Discuss.destroy_all
|
|
|
|
Discuss.destroy_all
|
|
|
|
|
|
|
|
Tiding.destroy_all
|
|
|
|
normal_status("初始化数据成功!")
|
|
|
|
normal_status("初始化数据成功!")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|