|
|
@ -11,7 +11,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150918134804) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20150924063215) do
|
|
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
t.integer "act_id", :null => false
|
|
|
@ -476,6 +476,13 @@ ActiveRecord::Schema.define(:version => 20150918134804) do
|
|
|
|
|
|
|
|
|
|
|
|
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
|
|
|
|
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "discuss_demos", :force => true do |t|
|
|
|
|
|
|
|
|
t.string "title"
|
|
|
|
|
|
|
|
t.text "body"
|
|
|
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "documents", :force => true do |t|
|
|
|
|
create_table "documents", :force => true do |t|
|
|
|
|
t.integer "project_id", :default => 0, :null => false
|
|
|
|
t.integer "project_id", :default => 0, :null => false
|
|
|
|
t.integer "category_id", :default => 0, :null => false
|
|
|
|
t.integer "category_id", :default => 0, :null => false
|
|
|
@ -895,6 +902,7 @@ ActiveRecord::Schema.define(:version => 20150918134804) do
|
|
|
|
t.datetime "updated_on", :null => false
|
|
|
|
t.datetime "updated_on", :null => false
|
|
|
|
t.boolean "locked", :default => false
|
|
|
|
t.boolean "locked", :default => false
|
|
|
|
t.integer "sticky", :default => 0
|
|
|
|
t.integer "sticky", :default => 0
|
|
|
|
|
|
|
|
t.integer "reply_id"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "messages", ["author_id"], :name => "index_messages_on_author_id"
|
|
|
|
add_index "messages", ["author_id"], :name => "index_messages_on_author_id"
|
|
|
@ -912,7 +920,6 @@ ActiveRecord::Schema.define(:version => 20150918134804) do
|
|
|
|
t.datetime "created_on"
|
|
|
|
t.datetime "created_on"
|
|
|
|
t.integer "comments_count", :default => 0, :null => false
|
|
|
|
t.integer "comments_count", :default => 0, :null => false
|
|
|
|
t.integer "course_id"
|
|
|
|
t.integer "course_id"
|
|
|
|
t.datetime "updated_on"
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "news", ["author_id"], :name => "index_news_on_author_id"
|
|
|
|
add_index "news", ["author_id"], :name => "index_news_on_author_id"
|
|
|
@ -1324,7 +1331,7 @@ ActiveRecord::Schema.define(:version => 20150918134804) do
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.integer "late_penalty", :default => 0
|
|
|
|
t.integer "late_penalty", :default => 0
|
|
|
|
t.integer "absence_penalty", :default => 0
|
|
|
|
t.integer "absence_penalty", :default => 0
|
|
|
|
t.float "system_score", :default => 0.0
|
|
|
|
t.integer "system_score"
|
|
|
|
t.boolean "is_test", :default => false
|
|
|
|
t.boolean "is_test", :default => false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|