|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20140509020307) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20140519070751) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
@ -52,14 +52,11 @@ ActiveRecord::Schema.define(:version => 20140509020307) do
|
|
|
|
|
add_index "attachments", ["container_id", "container_type"], :name => "index_attachments_on_container_id_and_container_type"
|
|
|
|
|
add_index "attachments", ["created_on"], :name => "index_attachments_on_created_on"
|
|
|
|
|
|
|
|
|
|
create_table "attachmentstypes", :id => false, :force => true do |t|
|
|
|
|
|
t.integer "id", :null => false
|
|
|
|
|
t.integer "typeId"
|
|
|
|
|
create_table "attachmentstypes", :force => true do |t|
|
|
|
|
|
t.integer "typeId", :null => false
|
|
|
|
|
t.string "typeName", :limit => 50
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "attachmentstypes", ["id"], :name => "id"
|
|
|
|
|
|
|
|
|
|
create_table "auth_sources", :force => true do |t|
|
|
|
|
|
t.string "type", :limit => 30, :default => "", :null => false
|
|
|
|
|
t.string "name", :limit => 60, :default => "", :null => false
|
|
|
|
@ -325,9 +322,12 @@ ActiveRecord::Schema.define(:version => 20140509020307) do
|
|
|
|
|
create_table "homework_attaches", :force => true do |t|
|
|
|
|
|
t.integer "bid_id"
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.string "reward"
|
|
|
|
|
t.string "name"
|
|
|
|
|
t.string "description"
|
|
|
|
|
t.integer "state"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "homework_for_courses", :force => true do |t|
|
|
|
|
@ -335,6 +335,13 @@ ActiveRecord::Schema.define(:version => 20140509020307) do
|
|
|
|
|
t.integer "bid_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "homework_users", :force => true do |t|
|
|
|
|
|
t.string "homework_attach_id"
|
|
|
|
|
t.string "user_id"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "issue_categories", :force => true do |t|
|
|
|
|
|
t.integer "project_id", :default => 0, :null => false
|
|
|
|
|
t.string "name", :limit => 30, :default => "", :null => false
|
|
|
|
|