2012-01-31 18:48:37 +00:00
|
|
|
# encoding: UTF-8
|
2011-03-09 13:13:36 +00:00
|
|
|
# This file is auto-generated from the current state of the database. Instead
|
|
|
|
# of editing this file, please use the migrations feature of Active Record to
|
|
|
|
# incrementally modify your database, and then regenerate this schema definition.
|
|
|
|
#
|
|
|
|
# Note that this schema.rb definition is the authoritative source for your
|
|
|
|
# database schema. If you need to create the application database on another
|
|
|
|
# system, you should be using db:schema:load, not running all the migrations
|
|
|
|
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
|
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
|
|
#
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
2012-03-14 17:22:47 +00:00
|
|
|
ActiveRecord::Schema.define(:version => 20120314162313) do
|
2012-03-02 10:39:48 +00:00
|
|
|
|
2012-02-29 17:12:06 +00:00
|
|
|
create_table "activity_feeds", :force => true do |t|
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
t.string "kind"
|
|
|
|
t.text "data"
|
2012-03-03 00:19:31 +00:00
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
2012-01-25 08:31:49 +00:00
|
|
|
end
|
2011-03-12 14:15:30 +00:00
|
|
|
|
|
|
|
create_table "arches", :force => true do |t|
|
|
|
|
t.string "name", :null => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-03-12 14:15:30 +00:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "arches", ["name"], :name => "index_arches_on_name", :unique => true
|
|
|
|
|
2011-10-11 21:56:51 +01:00
|
|
|
create_table "authentications", :force => true do |t|
|
|
|
|
t.integer "user_id"
|
|
|
|
t.string "provider"
|
|
|
|
t.string "uid"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-11 21:56:51 +01:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "authentications", ["provider", "uid"], :name => "index_authentications_on_provider_and_uid", :unique => true
|
|
|
|
add_index "authentications", ["user_id"], :name => "index_authentications_on_user_id"
|
|
|
|
|
2011-10-29 20:09:14 +01:00
|
|
|
create_table "auto_build_lists", :force => true do |t|
|
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "arch_id"
|
|
|
|
t.integer "pl_id"
|
|
|
|
t.integer "bpl_id"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-29 20:09:14 +01:00
|
|
|
end
|
|
|
|
|
2011-04-11 11:47:57 +01:00
|
|
|
create_table "build_list_items", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.integer "level"
|
|
|
|
t.integer "status"
|
|
|
|
t.integer "build_list_id"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-29 20:09:14 +01:00
|
|
|
t.string "version"
|
2011-04-11 11:47:57 +01:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "build_list_items", ["build_list_id"], :name => "index_build_list_items_on_build_list_id"
|
|
|
|
|
2011-04-07 14:20:21 +01:00
|
|
|
create_table "build_lists", :force => true do |t|
|
|
|
|
t.integer "bs_id"
|
|
|
|
t.string "container_path"
|
|
|
|
t.integer "status"
|
2011-10-22 16:28:41 +01:00
|
|
|
t.string "project_version"
|
2011-04-07 14:20:21 +01:00
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "arch_id"
|
|
|
|
t.datetime "notified_at"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-04-11 11:47:57 +01:00
|
|
|
t.boolean "is_circle", :default => false
|
|
|
|
t.text "additional_repos"
|
|
|
|
t.string "name"
|
2011-11-30 19:03:58 +00:00
|
|
|
t.boolean "build_requires", :default => false
|
2011-10-22 16:28:41 +01:00
|
|
|
t.string "update_type"
|
|
|
|
t.integer "bpl_id"
|
|
|
|
t.integer "pl_id"
|
2011-12-21 14:01:50 +00:00
|
|
|
t.text "include_repos"
|
2011-12-21 21:42:06 +00:00
|
|
|
t.integer "user_id"
|
2011-12-29 02:37:34 +00:00
|
|
|
t.boolean "auto_publish", :default => true
|
2012-01-13 16:45:13 +00:00
|
|
|
t.string "package_version"
|
2012-01-16 21:51:20 +00:00
|
|
|
t.string "commit_hash"
|
2011-04-07 14:20:21 +01:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "build_lists", ["arch_id"], :name => "index_build_lists_on_arch_id"
|
|
|
|
add_index "build_lists", ["bs_id"], :name => "index_build_lists_on_bs_id", :unique => true
|
|
|
|
add_index "build_lists", ["project_id"], :name => "index_build_lists_on_project_id"
|
|
|
|
|
2011-10-19 21:58:31 +01:00
|
|
|
create_table "categories", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "ancestry"
|
|
|
|
t.integer "projects_count", :default => 0, :null => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-19 21:58:31 +01:00
|
|
|
end
|
|
|
|
|
2011-12-19 15:30:14 +00:00
|
|
|
create_table "comments", :force => true do |t|
|
|
|
|
t.string "commentable_type"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.text "body"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-02-14 16:05:41 +00:00
|
|
|
t.decimal "commentable_id", :precision => 50, :scale => 0
|
2012-03-14 17:22:47 +00:00
|
|
|
t.integer "project_id"
|
2011-12-19 15:30:14 +00:00
|
|
|
end
|
|
|
|
|
2011-03-12 13:35:00 +00:00
|
|
|
create_table "containers", :force => true do |t|
|
|
|
|
t.string "name", :null => false
|
|
|
|
t.integer "project_id", :null => false
|
|
|
|
t.integer "owner_id", :null => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-03-12 13:35:00 +00:00
|
|
|
end
|
2011-03-09 19:27:51 +00:00
|
|
|
|
2011-04-11 17:37:09 +01:00
|
|
|
create_table "delayed_jobs", :force => true do |t|
|
|
|
|
t.integer "priority", :default => 0
|
|
|
|
t.integer "attempts", :default => 0
|
|
|
|
t.text "handler"
|
|
|
|
t.text "last_error"
|
|
|
|
t.datetime "run_at"
|
|
|
|
t.datetime "locked_at"
|
|
|
|
t.datetime "failed_at"
|
|
|
|
t.string "locked_by"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-02-14 16:05:41 +00:00
|
|
|
t.string "queue"
|
2011-04-11 17:37:09 +01:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
|
|
|
|
|
2011-10-14 07:35:25 +01:00
|
|
|
create_table "downloads", :force => true do |t|
|
|
|
|
t.string "name", :null => false
|
|
|
|
t.string "version"
|
|
|
|
t.string "distro"
|
|
|
|
t.string "platform"
|
|
|
|
t.integer "counter", :default => 0
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-14 07:35:25 +01:00
|
|
|
end
|
|
|
|
|
2011-10-14 21:45:58 +01:00
|
|
|
create_table "event_logs", :force => true do |t|
|
|
|
|
t.integer "user_id"
|
|
|
|
t.string "user_name"
|
|
|
|
t.integer "object_id"
|
|
|
|
t.string "object_type"
|
|
|
|
t.string "object_name"
|
|
|
|
t.string "ip"
|
|
|
|
t.string "kind"
|
|
|
|
t.string "protocol"
|
|
|
|
t.string "controller"
|
|
|
|
t.string "action"
|
|
|
|
t.text "message"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-14 21:45:58 +01:00
|
|
|
end
|
|
|
|
|
2011-10-13 16:55:03 +01:00
|
|
|
create_table "groups", :force => true do |t|
|
|
|
|
t.integer "owner_id"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-17 15:18:37 +01:00
|
|
|
t.string "uname"
|
2012-02-02 21:30:08 +00:00
|
|
|
t.integer "own_projects_count", :default => 0, :null => false
|
2012-02-29 17:12:06 +00:00
|
|
|
t.text "description"
|
2011-10-13 16:55:03 +01:00
|
|
|
end
|
|
|
|
|
2011-12-19 15:30:14 +00:00
|
|
|
create_table "issues", :force => true do |t|
|
|
|
|
t.integer "serial_id"
|
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.string "title"
|
|
|
|
t.text "body"
|
2012-01-13 15:07:01 +00:00
|
|
|
t.string "status", :default => "open"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-02-29 14:04:04 +00:00
|
|
|
t.integer "creator_id"
|
|
|
|
t.datetime "closed_at"
|
|
|
|
t.integer "closed_by"
|
2011-12-19 15:30:14 +00:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "issues", ["project_id", "serial_id"], :name => "index_issues_on_project_id_and_serial_id", :unique => true
|
|
|
|
|
2012-02-29 14:04:04 +00:00
|
|
|
create_table "labelings", :force => true do |t|
|
|
|
|
t.integer "label_id", :null => false
|
|
|
|
t.integer "issue_id"
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
end
|
|
|
|
|
|
|
|
add_index "labelings", ["issue_id"], :name => "index_labelings_on_issue_id"
|
|
|
|
|
|
|
|
create_table "labels", :force => true do |t|
|
|
|
|
t.string "name", :null => false
|
|
|
|
t.string "color", :null => false
|
|
|
|
t.integer "project_id"
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
end
|
|
|
|
|
|
|
|
add_index "labels", ["project_id"], :name => "index_labels_on_project_id"
|
|
|
|
|
2011-03-09 19:27:51 +00:00
|
|
|
create_table "platforms", :force => true do |t|
|
2011-11-29 10:17:05 +00:00
|
|
|
t.string "description"
|
2011-03-09 19:27:51 +00:00
|
|
|
t.string "name"
|
|
|
|
t.integer "parent_platform_id"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-03-17 14:47:16 +00:00
|
|
|
t.boolean "released", :default => false
|
2011-10-17 15:18:37 +01:00
|
|
|
t.integer "owner_id"
|
|
|
|
t.string "owner_type"
|
|
|
|
t.string "visibility", :default => "open"
|
|
|
|
t.string "platform_type", :default => "main"
|
|
|
|
t.string "distrib_type"
|
2011-03-09 19:27:51 +00:00
|
|
|
end
|
|
|
|
|
2011-10-18 14:47:17 +01:00
|
|
|
create_table "private_users", :force => true do |t|
|
|
|
|
t.integer "platform_id"
|
|
|
|
t.string "login"
|
|
|
|
t.string "password"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-27 14:04:03 +01:00
|
|
|
t.integer "user_id"
|
2011-10-18 14:47:17 +01:00
|
|
|
end
|
|
|
|
|
2011-11-11 17:13:09 +00:00
|
|
|
create_table "product_build_lists", :force => true do |t|
|
|
|
|
t.integer "product_id"
|
|
|
|
t.integer "status", :default => 2, :null => false
|
|
|
|
t.datetime "notified_at"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-11-11 17:13:09 +00:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "product_build_lists", ["product_id"], :name => "index_product_build_lists_on_product_id"
|
|
|
|
|
2011-04-11 09:35:08 +01:00
|
|
|
create_table "products", :force => true do |t|
|
2011-04-14 18:04:32 +01:00
|
|
|
t.string "name", :null => false
|
|
|
|
t.integer "platform_id", :null => false
|
|
|
|
t.integer "build_status", :default => 2, :null => false
|
2011-04-11 09:35:08 +01:00
|
|
|
t.string "build_path"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-11-11 19:11:27 +00:00
|
|
|
t.text "build_script"
|
2011-04-11 17:55:52 +01:00
|
|
|
t.text "counter"
|
|
|
|
t.text "ks"
|
|
|
|
t.text "menu"
|
2011-04-14 08:23:08 +01:00
|
|
|
t.string "tar_file_name"
|
|
|
|
t.string "tar_content_type"
|
|
|
|
t.integer "tar_file_size"
|
|
|
|
t.datetime "tar_updated_at"
|
2011-04-14 18:04:32 +01:00
|
|
|
t.boolean "is_template", :default => false
|
|
|
|
t.boolean "system_wide", :default => false
|
2011-04-28 15:32:11 +01:00
|
|
|
t.text "cron_tab"
|
|
|
|
t.boolean "use_cron", :default => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.text "description"
|
2011-04-11 09:35:08 +01:00
|
|
|
end
|
|
|
|
|
2012-01-27 15:35:18 +00:00
|
|
|
create_table "project_imports", :force => true do |t|
|
|
|
|
t.integer "project_id"
|
|
|
|
t.string "name"
|
|
|
|
t.string "version"
|
|
|
|
t.datetime "file_mtime"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-01-31 18:48:37 +00:00
|
|
|
t.integer "platform_id"
|
2012-01-27 15:35:18 +00:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "project_imports", ["platform_id", "name"], :name => "index_project_imports_on_name_and_platform_id", :unique => true, :case_sensitive => false
|
|
|
|
|
2011-10-13 16:55:03 +01:00
|
|
|
create_table "project_to_repositories", :force => true do |t|
|
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "repository_id"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-13 16:55:03 +01:00
|
|
|
end
|
|
|
|
|
2011-03-09 19:27:51 +00:00
|
|
|
create_table "projects", :force => true do |t|
|
|
|
|
t.string "name"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-10-17 15:18:37 +01:00
|
|
|
t.integer "owner_id"
|
|
|
|
t.string "owner_type"
|
2012-01-27 15:35:18 +00:00
|
|
|
t.string "visibility", :default => "open"
|
2011-10-19 21:58:31 +01:00
|
|
|
t.integer "category_id"
|
|
|
|
t.text "description"
|
2011-11-23 15:52:33 +00:00
|
|
|
t.string "ancestry"
|
2012-01-27 15:35:18 +00:00
|
|
|
t.boolean "has_issues", :default => true
|
2012-03-07 01:20:35 +00:00
|
|
|
t.boolean "has_wiki", :default => false
|
2012-01-30 20:36:58 +00:00
|
|
|
t.string "srpm_file_name"
|
2012-01-27 15:35:18 +00:00
|
|
|
t.string "srpm_content_type"
|
|
|
|
t.integer "srpm_file_size"
|
2012-01-30 20:36:58 +00:00
|
|
|
t.datetime "srpm_updated_at"
|
2012-02-21 15:41:16 +00:00
|
|
|
t.string "default_branch", :default => "master"
|
2012-02-24 13:05:58 +00:00
|
|
|
t.boolean "is_rpm", :default => true
|
2011-03-11 16:08:41 +00:00
|
|
|
end
|
|
|
|
|
2012-03-03 00:19:31 +00:00
|
|
|
add_index "projects", ["category_id"], :name => "index_projects_on_category_id"
|
|
|
|
add_index "projects", ["owner_id"], :name => "index_projects_on_name_and_owner_id_and_owner_type", :unique => true, :case_sensitive => false
|
|
|
|
|
2012-02-09 17:46:23 +00:00
|
|
|
create_table "register_requests", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "email"
|
|
|
|
t.string "token"
|
|
|
|
t.boolean "approved", :default => false
|
|
|
|
t.boolean "rejected", :default => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-02-10 16:33:16 +00:00
|
|
|
t.string "interest"
|
|
|
|
t.text "more"
|
2012-02-09 17:46:23 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
add_index "register_requests", ["email"], :name => "index_register_requests_on_email", :unique => true, :case_sensitive => false
|
2012-01-31 18:48:37 +00:00
|
|
|
|
2011-10-13 16:55:03 +01:00
|
|
|
create_table "relations", :force => true do |t|
|
|
|
|
t.integer "object_id"
|
|
|
|
t.string "object_type"
|
|
|
|
t.integer "target_id"
|
|
|
|
t.string "target_type"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-11-16 18:45:01 +00:00
|
|
|
t.string "role"
|
2011-03-11 16:08:41 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
create_table "repositories", :force => true do |t|
|
2011-11-29 10:17:05 +00:00
|
|
|
t.string "description", :null => false
|
2011-10-28 08:20:13 +01:00
|
|
|
t.integer "platform_id", :null => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-11-29 10:17:05 +00:00
|
|
|
t.string "name", :null => false
|
2011-03-09 19:27:51 +00:00
|
|
|
end
|
2011-03-09 16:16:48 +00:00
|
|
|
|
2011-03-12 14:15:30 +00:00
|
|
|
create_table "rpms", :force => true do |t|
|
|
|
|
t.string "name", :null => false
|
|
|
|
t.integer "arch_id", :null => false
|
|
|
|
t.integer "project_id", :null => false
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-03-12 14:15:30 +00:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "rpms", ["project_id", "arch_id"], :name => "index_rpms_on_project_id_and_arch_id"
|
|
|
|
add_index "rpms", ["project_id"], :name => "index_rpms_on_project_id"
|
|
|
|
|
2012-01-11 13:58:13 +00:00
|
|
|
create_table "settings_notifiers", :force => true do |t|
|
2012-01-18 17:48:31 +00:00
|
|
|
t.integer "user_id", :null => false
|
|
|
|
t.boolean "can_notify", :default => true
|
|
|
|
t.boolean "new_comment", :default => true
|
|
|
|
t.boolean "new_comment_reply", :default => true
|
|
|
|
t.boolean "new_issue", :default => true
|
|
|
|
t.boolean "issue_assign", :default => true
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-01-18 17:48:31 +00:00
|
|
|
t.boolean "new_comment_commit_owner", :default => true
|
|
|
|
t.boolean "new_comment_commit_repo_owner", :default => true
|
|
|
|
t.boolean "new_comment_commit_commentor", :default => true
|
2012-01-11 13:58:13 +00:00
|
|
|
end
|
|
|
|
|
2011-12-26 15:48:57 +00:00
|
|
|
create_table "subscribes", :force => true do |t|
|
|
|
|
t.string "subscribeable_type"
|
|
|
|
t.integer "user_id"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2012-02-14 16:05:41 +00:00
|
|
|
t.boolean "status", :default => true
|
2012-02-02 21:30:08 +00:00
|
|
|
t.integer "project_id"
|
2012-02-14 16:05:41 +00:00
|
|
|
t.decimal "subscribeable_id", :precision => 50, :scale => 0
|
2011-12-26 15:48:57 +00:00
|
|
|
end
|
|
|
|
|
2011-03-09 16:16:48 +00:00
|
|
|
create_table "users", :force => true do |t|
|
|
|
|
t.string "name"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.string "email", :default => "", :null => false
|
|
|
|
t.string "encrypted_password", :limit => 128, :default => "", :null => false
|
2011-03-09 16:16:48 +00:00
|
|
|
t.string "reset_password_token"
|
2012-03-07 01:20:35 +00:00
|
|
|
t.datetime "reset_password_sent_at"
|
2011-03-09 16:16:48 +00:00
|
|
|
t.datetime "remember_created_at"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-12-29 11:16:54 +00:00
|
|
|
t.text "ssh_key"
|
2012-01-11 13:58:13 +00:00
|
|
|
t.string "uname"
|
2011-11-16 18:45:01 +00:00
|
|
|
t.string "role"
|
2012-03-14 17:22:47 +00:00
|
|
|
t.string "language", :default => "en"
|
|
|
|
t.integer "own_projects_count", :default => 0, :null => false
|
2012-03-02 12:14:59 +00:00
|
|
|
t.text "professional_experience"
|
2012-03-03 08:01:32 +00:00
|
|
|
t.string "site"
|
|
|
|
t.string "company"
|
|
|
|
t.string "location"
|
2012-03-03 18:05:02 +00:00
|
|
|
t.string "avatar_file_name"
|
|
|
|
t.string "avatar_content_type"
|
|
|
|
t.integer "avatar_file_size"
|
|
|
|
t.datetime "avatar_updated_at"
|
2011-03-09 16:16:48 +00:00
|
|
|
end
|
|
|
|
|
2012-01-31 18:48:37 +00:00
|
|
|
add_index "users", ["email"], :name => "index_users_on_email", :unique => true
|
|
|
|
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true
|
|
|
|
add_index "users", ["uname"], :name => "index_users_on_uname", :unique => true
|
|
|
|
|
2011-03-09 13:13:36 +00:00
|
|
|
end
|