|
|
@ -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 => 20160907061917) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20160907080621) 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
|
|
|
@ -56,8 +56,8 @@ ActiveRecord::Schema.define(:version => 20160907061917) do
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "applied_id"
|
|
|
|
t.integer "applied_id"
|
|
|
|
t.string "applied_type"
|
|
|
|
t.string "applied_type"
|
|
|
|
t.integer "viewed", :default => 0
|
|
|
|
t.integer "viewed"
|
|
|
|
t.integer "status", :default => 0
|
|
|
|
t.integer "status"
|
|
|
|
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.string "name"
|
|
|
|
t.string "name"
|
|
|
@ -173,6 +173,7 @@ ActiveRecord::Schema.define(:version => 20160907061917) do
|
|
|
|
t.integer "quotes"
|
|
|
|
t.integer "quotes"
|
|
|
|
t.integer "is_publish", :default => 1
|
|
|
|
t.integer "is_publish", :default => 1
|
|
|
|
t.date "publish_time"
|
|
|
|
t.date "publish_time"
|
|
|
|
|
|
|
|
t.boolean "init_file", :default => false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "attachments", ["author_id"], :name => "index_attachments_on_author_id"
|
|
|
|
add_index "attachments", ["author_id"], :name => "index_attachments_on_author_id"
|
|
|
@ -318,6 +319,8 @@ ActiveRecord::Schema.define(:version => 20160907061917) 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"
|
|
|
|