Description:
migrate
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r547:fa90f299692c - - 1 file changed: 12 inserted, 12 deleted
@@ -15,7 +15,7 | |||||
|
15 |
|
15 | ||
|
16 | create_table "announcements", :force => true do |t| |
|
16 | create_table "announcements", :force => true do |t| |
|
17 | t.string "author" |
|
17 | t.string "author" |
|
18 | - t.text "body" |
|
18 | + t.text "body", :limit => 16777215 |
|
19 | t.boolean "published" |
|
19 | t.boolean "published" |
|
20 | t.datetime "created_at", :null => false |
|
20 | t.datetime "created_at", :null => false |
|
21 | t.datetime "updated_at", :null => false |
|
21 | t.datetime "updated_at", :null => false |
@@ -50,7 +50,7 | |||||
|
50 | end |
|
50 | end |
|
51 |
|
51 | ||
|
52 | create_table "descriptions", :force => true do |t| |
|
52 | create_table "descriptions", :force => true do |t| |
|
53 | - t.text "body" |
|
53 | + t.text "body", :limit => 16777215 |
|
54 | t.boolean "markdowned" |
|
54 | t.boolean "markdowned" |
|
55 | t.datetime "created_at", :null => false |
|
55 | t.datetime "created_at", :null => false |
|
56 | t.datetime "updated_at", :null => false |
|
56 | t.datetime "updated_at", :null => false |
@@ -62,7 +62,7 | |||||
|
62 | t.string "value" |
|
62 | t.string "value" |
|
63 | t.datetime "created_at", :null => false |
|
63 | t.datetime "created_at", :null => false |
|
64 | t.datetime "updated_at", :null => false |
|
64 | t.datetime "updated_at", :null => false |
|
65 | - t.text "description" |
|
65 | + t.text "description", :limit => 16777215 |
|
66 | end |
|
66 | end |
|
67 |
|
67 | ||
|
68 | create_table "grader_processes", :force => true do |t| |
|
68 | create_table "grader_processes", :force => true do |t| |
@@ -107,7 +107,7 | |||||
|
107 | t.integer "sender_id" |
|
107 | t.integer "sender_id" |
|
108 | t.integer "receiver_id" |
|
108 | t.integer "receiver_id" |
|
109 | t.integer "replying_message_id" |
|
109 | t.integer "replying_message_id" |
|
110 | - t.text "body" |
|
110 | + t.text "body", :limit => 16777215 |
|
111 | t.boolean "replied" |
|
111 | t.boolean "replied" |
|
112 | t.datetime "created_at", :null => false |
|
112 | t.datetime "created_at", :null => false |
|
113 | t.datetime "updated_at", :null => false |
|
113 | t.datetime "updated_at", :null => false |
@@ -152,7 +152,7 | |||||
|
152 |
|
152 | ||
|
153 | create_table "sessions", :force => true do |t| |
|
153 | create_table "sessions", :force => true do |t| |
|
154 | t.string "session_id" |
|
154 | t.string "session_id" |
|
155 | - t.text "data" |
|
155 | + t.text "data", :limit => 16777215 |
|
156 | t.datetime "updated_at" |
|
156 | t.datetime "updated_at" |
|
157 | end |
|
157 | end |
|
158 |
|
158 | ||
@@ -180,14 +180,14 | |||||
|
180 | t.integer "user_id" |
|
180 | t.integer "user_id" |
|
181 | t.integer "problem_id" |
|
181 | t.integer "problem_id" |
|
182 | t.integer "language_id" |
|
182 | t.integer "language_id" |
|
183 | - t.text "source" |
|
183 | + t.text "source", :limit => 16777215 |
|
184 | t.binary "binary" |
|
184 | t.binary "binary" |
|
185 | t.datetime "submitted_at" |
|
185 | t.datetime "submitted_at" |
|
186 | t.datetime "compiled_at" |
|
186 | t.datetime "compiled_at" |
|
187 | - t.text "compiler_message" |
|
187 | + t.text "compiler_message", :limit => 16777215 |
|
188 | t.datetime "graded_at" |
|
188 | t.datetime "graded_at" |
|
189 | t.integer "points" |
|
189 | t.integer "points" |
|
190 | - t.text "grader_comment" |
|
190 | + t.text "grader_comment", :limit => 16777215 |
|
191 | t.integer "number" |
|
191 | t.integer "number" |
|
192 | t.string "source_filename" |
|
192 | t.string "source_filename" |
|
193 | t.float "max_runtime" |
|
193 | t.float "max_runtime" |
@@ -208,8 +208,8 | |||||
|
208 |
|
208 | ||
|
209 | create_table "test_pairs", :force => true do |t| |
|
209 | create_table "test_pairs", :force => true do |t| |
|
210 | t.integer "problem_id" |
|
210 | t.integer "problem_id" |
|
211 |
- t.text "input", :limit => |
|
211 | + t.text "input", :limit => 2147483647 |
|
212 |
- t.text "solution", :limit => |
|
212 | + t.text "solution", :limit => 2147483647 |
|
213 | t.datetime "created_at", :null => false |
|
213 | t.datetime "created_at", :null => false |
|
214 | t.datetime "updated_at", :null => false |
|
214 | t.datetime "updated_at", :null => false |
|
215 | end |
|
215 | end |
@@ -225,7 +225,7 | |||||
|
225 | t.datetime "updated_at", :null => false |
|
225 | t.datetime "updated_at", :null => false |
|
226 | t.datetime "submitted_at" |
|
226 | t.datetime "submitted_at" |
|
227 | t.datetime "compiled_at" |
|
227 | t.datetime "compiled_at" |
|
228 | - t.text "compiler_message" |
|
228 | + t.text "compiler_message", :limit => 16777215 |
|
229 | t.datetime "graded_at" |
|
229 | t.datetime "graded_at" |
|
230 | t.string "grader_comment" |
|
230 | t.string "grader_comment" |
|
231 | t.datetime "created_at", :null => false |
|
231 | t.datetime "created_at", :null => false |
@@ -256,10 +256,10 | |||||
|
256 | t.boolean "activated", :default => false |
|
256 | t.boolean "activated", :default => false |
|
257 | t.datetime "created_at" |
|
257 | t.datetime "created_at" |
|
258 | t.datetime "updated_at" |
|
258 | t.datetime "updated_at" |
|
|
259 | + t.string "section" | ||
|
259 | t.boolean "enabled", :default => true |
|
260 | t.boolean "enabled", :default => true |
|
260 | t.string "remark" |
|
261 | t.string "remark" |
|
261 | t.string "last_ip" |
|
262 | t.string "last_ip" |
|
262 | - t.string "section" |
|
||
|
263 | end |
|
263 | end |
|
264 |
|
264 | ||
|
265 | add_index "users", ["login"], :name => "index_users_on_login", :unique => true |
|
265 | add_index "users", ["login"], :name => "index_users_on_login", :unique => true |
You need to be logged in to leave comments.
Login now