rake db生成文件

This commit is contained in:
Tim 2016-07-27 09:32:10 +08:00
parent c5dd2eaf41
commit 82ae7310dc
1 changed files with 2300 additions and 2294 deletions

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20160720094503) do
ActiveRecord::Schema.define(:version => 20160725091759) do
create_table "activities", :force => true do |t|
t.integer "act_id", :null => false
@ -67,6 +67,7 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
t.integer "status", :default => 0
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.integer "user_id"
end
create_table "apply_homeworks", :force => true do |t|
@ -294,10 +295,6 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
add_index "changeset_parents", ["parent_id"], :name => "changeset_parents_parent_ids"
create_table "changesets", :force => true do |t|
t.integer "repository_id", :null => false
t.string "revision", :null => false
t.string "committer"
t.datetime "committed_on", :null => false
t.integer "repository_id", :null => false
t.string "revision", :null => false
t.string "committer"
@ -306,8 +303,6 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
t.date "commit_date"
t.string "scmid"
t.integer "user_id"
t.integer "project_id"
t.integer "type", :default => 0
end
add_index "changesets", ["committed_on"], :name => "index_changesets_on_committed_on"
@ -401,6 +396,17 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
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"
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|
t.text "title"
t.text "content"