|
|
@ -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 => 20160121070232) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20160122083507) 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
|
|
|
@ -500,6 +500,7 @@ ActiveRecord::Schema.define(:version => 20160121070232) do
|
|
|
|
t.integer "end_time"
|
|
|
|
t.integer "end_time"
|
|
|
|
t.string "end_term"
|
|
|
|
t.string "end_term"
|
|
|
|
t.integer "is_excellent", :default => 0
|
|
|
|
t.integer "is_excellent", :default => 0
|
|
|
|
|
|
|
|
t.integer "excellent_option", :default => 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "custom_fields", :force => true do |t|
|
|
|
|
create_table "custom_fields", :force => true do |t|
|
|
|
@ -1084,14 +1085,14 @@ ActiveRecord::Schema.define(:version => 20160121070232) do
|
|
|
|
|
|
|
|
|
|
|
|
create_table "news", :force => true do |t|
|
|
|
|
create_table "news", :force => true do |t|
|
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "project_id"
|
|
|
|
t.string "title", :limit => 60, :default => "", :null => false
|
|
|
|
t.string "title", :limit => 60, :default => "", :null => false
|
|
|
|
t.string "summary", :default => ""
|
|
|
|
t.string "summary", :default => ""
|
|
|
|
t.text "description"
|
|
|
|
t.text "description"
|
|
|
|
t.integer "author_id", :default => 0, :null => false
|
|
|
|
t.integer "author_id", :default => 0, :null => false
|
|
|
|
t.datetime "created_on"
|
|
|
|
t.datetime "created_on"
|
|
|
|
t.integer "comments_count", :default => 0, :null => false
|
|
|
|
t.integer "comments_count", :default => 0, :null => false
|
|
|
|
t.integer "course_id"
|
|
|
|
t.integer "course_id"
|
|
|
|
t.integer "sticky", :default => 0
|
|
|
|
t.integer "sticky", :default => 0
|
|
|
|
t.integer "org_subfield_id"
|
|
|
|
t.integer "org_subfield_id"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
@ -1216,7 +1217,6 @@ ActiveRecord::Schema.define(:version => 20160121070232) do
|
|
|
|
create_table "org_members", :force => true do |t|
|
|
|
|
create_table "org_members", :force => true do |t|
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "organization_id"
|
|
|
|
t.integer "organization_id"
|
|
|
|
t.string "role"
|
|
|
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
end
|
|
|
|
end
|
|
|
@ -1265,8 +1265,8 @@ ActiveRecord::Schema.define(:version => 20160121070232) do
|
|
|
|
t.integer "home_id"
|
|
|
|
t.integer "home_id"
|
|
|
|
t.string "domain"
|
|
|
|
t.string "domain"
|
|
|
|
t.boolean "is_public"
|
|
|
|
t.boolean "is_public"
|
|
|
|
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.boolean "allow_guest_download", :default => true
|
|
|
|
t.boolean "allow_guest_download", :default => true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
@ -1714,10 +1714,6 @@ ActiveRecord::Schema.define(:version => 20160121070232) do
|
|
|
|
t.string "extra"
|
|
|
|
t.string "extra"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "temp", :id => false, :force => true do |t|
|
|
|
|
|
|
|
|
t.integer "id", :default => 0, :null => false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "time_entries", :force => true do |t|
|
|
|
|
create_table "time_entries", :force => true do |t|
|
|
|
|
t.integer "project_id", :null => false
|
|
|
|
t.integer "project_id", :null => false
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|