|
|
@ -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 => 20160720094503) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20160727065357) 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
|
|
|
@ -395,6 +395,17 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
|
|
|
|
add_index "comments", ["author_id"], :name => "index_comments_on_author_id"
|
|
|
|
add_index "comments", ["author_id"], :name => "index_comments_on_author_id"
|
|
|
|
add_index "comments", ["commented_id", "commented_type"], :name => "index_comments_on_commented_id_and_commented_type"
|
|
|
|
add_index "comments", ["commented_id", "commented_type"], :name => "index_comments_on_commented_id_and_commented_type"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "commits", :force => true do |t|
|
|
|
|
|
|
|
|
t.integer "repository_id"
|
|
|
|
|
|
|
|
t.string "version"
|
|
|
|
|
|
|
|
t.string "committer"
|
|
|
|
|
|
|
|
t.text "comments"
|
|
|
|
|
|
|
|
t.datetime "committed_on"
|
|
|
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "contest_notifications", :force => true do |t|
|
|
|
|
create_table "contest_notifications", :force => true do |t|
|
|
|
|
t.text "title"
|
|
|
|
t.text "title"
|
|
|
|
t.text "content"
|
|
|
|
t.text "content"
|
|
|
@ -1094,9 +1105,10 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "member_roles", :force => true do |t|
|
|
|
|
create_table "member_roles", :force => true do |t|
|
|
|
|
t.integer "member_id", :null => false
|
|
|
|
t.integer "member_id", :null => false
|
|
|
|
t.integer "role_id", :null => false
|
|
|
|
t.integer "role_id", :null => false
|
|
|
|
t.integer "inherited_from"
|
|
|
|
t.integer "inherited_from"
|
|
|
|
|
|
|
|
t.integer "multi_role", :default => 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "member_roles", ["member_id"], :name => "index_member_roles_on_member_id"
|
|
|
|
add_index "member_roles", ["member_id"], :name => "index_member_roles_on_member_id"
|
|
|
|