|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20160624032138) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20160624103411) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
@ -1125,23 +1125,6 @@ ActiveRecord::Schema.define(:version => 20160624032138) do
|
|
|
|
|
t.integer "viewed_count", :default => 0
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "mess", :id => false, :force => true do |t|
|
|
|
|
|
t.string "课程名"
|
|
|
|
|
t.integer "课程ID", :default => 0, :null => false
|
|
|
|
|
t.string "教师姓", :default => "", :null => false
|
|
|
|
|
t.string "教师名", :limit => 30, :default => "", :null => false
|
|
|
|
|
t.string "主贴名", :default => "", :null => false
|
|
|
|
|
t.integer "主贴或回帖ID", :default => 0, :null => false
|
|
|
|
|
t.integer "回帖对应主贴ID"
|
|
|
|
|
t.integer "帖子点赞数"
|
|
|
|
|
t.integer "主贴回复数", :default => 0, :null => false
|
|
|
|
|
t.text "主贴或回帖内容"
|
|
|
|
|
t.datetime "发帖时间", :null => false
|
|
|
|
|
t.integer "发帖或回帖用户ID", :default => 0, :null => false
|
|
|
|
|
t.string "发帖或回帖用户姓", :default => "", :null => false
|
|
|
|
|
t.string "发帖或回帖用户名", :limit => 30, :default => "", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "message_alls", :force => true do |t|
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.integer "message_id"
|
|
|
|
@ -1539,6 +1522,18 @@ ActiveRecord::Schema.define(:version => 20160624032138) do
|
|
|
|
|
add_index "projects_trackers", ["project_id", "tracker_id"], :name => "projects_trackers_unique", :unique => true
|
|
|
|
|
add_index "projects_trackers", ["project_id"], :name => "projects_trackers_project_id"
|
|
|
|
|
|
|
|
|
|
create_table "quality_analyses", :force => true do |t|
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.string "author_login"
|
|
|
|
|
t.string "rep_identifier"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.integer "sonar_version", :default => 0
|
|
|
|
|
t.string "path"
|
|
|
|
|
t.string "branch"
|
|
|
|
|
t.string "language"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "queries", :force => true do |t|
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.string "name", :default => "", :null => false
|
|
|
|
|