Description:
lengthen host field in grader_process
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r653:6d4fad14a7fe - - 2 files changed: 13 inserted, 4 deleted

@@ -0,0 +1,9
1 + class ModifyGraderProcess < ActiveRecord::Migration
2 + def up
3 + change_column :grader_processes, :host, :string
4 + end
5 +
6 + def down
7 + change_column :grader_processes, :host, :string, limit: 20
8 + end
9 + end
@@ -11,7 +11,7
11 11 #
12 12 # It's strongly recommended to check this file into your version control system.
13 13
14 - ActiveRecord::Schema.define(:version => 20150916054105) do
14 + ActiveRecord::Schema.define(:version => 20161008050135) do
15 15
16 16 create_table "announcements", :force => true do |t|
17 17 t.string "author"
@@ -66,12 +66,12
66 66 end
67 67
68 68 create_table "grader_processes", :force => true do |t|
69 - t.string "host", :limit => 20
69 + t.string "host"
70 70 t.integer "pid"
71 71 t.string "mode"
72 72 t.boolean "active"
73 - t.datetime "created_at", :null => false
74 - t.datetime "updated_at", :null => false
73 + t.datetime "created_at", :null => false
74 + t.datetime "updated_at", :null => false
75 75 t.integer "task_id"
76 76 t.string "task_type"
77 77 t.boolean "terminated"
You need to be logged in to leave comments. Login now