修复竞赛通知描述过长时报错的BUG
This commit is contained in:
parent
583bdd7a54
commit
01ea6238a4
|
@ -2,3 +2,9 @@ Mailer.mail_issue.each do |t|
|
|||
t.join
|
||||
end
|
||||
|
||||
#Thread.new do
|
||||
# if Time.now == Time.
|
||||
#
|
||||
# end
|
||||
#end
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
class UpdateContestnotificationsDescription < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :contestnotifications, :description, :text
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :contestnotifications, :description, :string
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20140728014933) do
|
||||
ActiveRecord::Schema.define(:version => 20140730024419) do
|
||||
|
||||
create_table "activities", :force => true do |t|
|
||||
t.integer "act_id", :null => false
|
||||
|
@ -272,7 +272,7 @@ ActiveRecord::Schema.define(:version => 20140728014933) do
|
|||
t.integer "contest_id"
|
||||
t.string "title"
|
||||
t.string "summary"
|
||||
t.string "description"
|
||||
t.text "description"
|
||||
t.integer "author_id"
|
||||
t.integer "notificationcomments_count"
|
||||
t.datetime "created_at", :null => false
|
||||
|
|
Loading…
Reference in New Issue