|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20130828004955) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20130828080407) do
|
|
|
|
|
|
|
|
|
|
create_table "a_user_watchers", :force => true do |t|
|
|
|
|
|
t.string "name"
|
|
|
|
@ -445,23 +445,6 @@ ActiveRecord::Schema.define(:version => 20130828004955) do
|
|
|
|
|
t.string "salt", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "permissions", :force => true do |t|
|
|
|
|
|
t.string "controller", :limit => 30, :default => "", :null => false
|
|
|
|
|
t.string "action", :limit => 30, :default => "", :null => false
|
|
|
|
|
t.string "description", :limit => 60, :default => "", :null => false
|
|
|
|
|
t.boolean "is_public", :default => false, :null => false
|
|
|
|
|
t.integer "sort", :default => 0, :null => false
|
|
|
|
|
t.boolean "mail_option", :default => false, :null => false
|
|
|
|
|
t.boolean "mail_enabled", :default => false, :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "permissions_roles", :id => false, :force => true do |t|
|
|
|
|
|
t.integer "permission_id", :default => 0, :null => false
|
|
|
|
|
t.integer "role_id", :default => 0, :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "permissions_roles", ["role_id"], :name => "permissions_roles_role_id"
|
|
|
|
|
|
|
|
|
|
create_table "praise_tread_caches", :force => true do |t|
|
|
|
|
|
t.integer "object_id", :null => false
|
|
|
|
|
t.string "object_type"
|
|
|
|
@ -515,6 +498,7 @@ ActiveRecord::Schema.define(:version => 20130828004955) do
|
|
|
|
|
t.integer "lft"
|
|
|
|
|
t.integer "rgt"
|
|
|
|
|
t.boolean "inherit_members", :default => false, :null => false
|
|
|
|
|
t.integer "project_type"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "projects", ["lft"], :name => "index_projects_on_lft"
|
|
|
|
@ -585,6 +569,7 @@ ActiveRecord::Schema.define(:version => 20130828004955) do
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.string "description"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "students", :force => true do |t|
|
|
|
|
@ -679,6 +664,9 @@ ActiveRecord::Schema.define(:version => 20130828004955) do
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "user_statuses", ["changesets_count"], :name => "index_user_statuses_on_changesets_count"
|
|
|
|
|
add_index "user_statuses", ["watchers_count"], :name => "index_user_statuses_on_watchers_count"
|
|
|
|
|
|
|
|
|
|
create_table "user_tags", :force => true do |t|
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.integer "tag_id"
|
|
|
|
|