rake db生成文件

weixin_guange
Tim 9 years ago
parent c5dd2eaf41
commit 82ae7310dc

@ -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 => 20160725091759) 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
@ -67,6 +67,7 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
t.integer "status", :default => 0 t.integer "status", :default => 0
t.datetime "created_at", :null => false t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false t.datetime "updated_at", :null => false
t.integer "user_id"
end end
create_table "apply_homeworks", :force => true do |t| 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" add_index "changeset_parents", ["parent_id"], :name => "changeset_parents_parent_ids"
create_table "changesets", :force => true do |t| 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.integer "repository_id", :null => false
t.string "revision", :null => false t.string "revision", :null => false
t.string "committer" t.string "committer"
@ -306,8 +303,6 @@ ActiveRecord::Schema.define(:version => 20160720094503) do
t.date "commit_date" t.date "commit_date"
t.string "scmid" t.string "scmid"
t.integer "user_id" t.integer "user_id"
t.integer "project_id"
t.integer "type", :default => 0
end end
add_index "changesets", ["committed_on"], :name => "index_changesets_on_committed_on" 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", ["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"

Loading…
Cancel
Save