|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150602055730) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150604153000) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
@ -23,6 +23,20 @@ ActiveRecord::Schema.define(:version => 20150602055730) do
|
|
|
|
|
add_index "activities", ["user_id", "act_type"], :name => "index_activities_on_user_id_and_act_type"
|
|
|
|
|
add_index "activities", ["user_id"], :name => "index_activities_on_user_id"
|
|
|
|
|
|
|
|
|
|
create_table "activity_notifies", :force => true do |t|
|
|
|
|
|
t.integer "activity_container_id"
|
|
|
|
|
t.string "activity_container_type"
|
|
|
|
|
t.integer "activity_id"
|
|
|
|
|
t.string "activity_type"
|
|
|
|
|
t.integer "notify_to"
|
|
|
|
|
t.datetime "created_on"
|
|
|
|
|
t.integer "is_read"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "activity_notifies", ["activity_container_id", "activity_container_type"], :name => "index_an_activity_container_id"
|
|
|
|
|
add_index "activity_notifies", ["created_on"], :name => "index_an_created_on"
|
|
|
|
|
add_index "activity_notifies", ["notify_to"], :name => "index_an_notify_to"
|
|
|
|
|
|
|
|
|
|
create_table "api_keys", :force => true do |t|
|
|
|
|
|
t.string "access_token"
|
|
|
|
|
t.datetime "expires_at"
|
|
|
|
@ -606,6 +620,13 @@ ActiveRecord::Schema.define(:version => 20150602055730) do
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "invite_lists", :force => true do |t|
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.integer "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
|
|
|
|
|