Commit 20bc421e authored by Tugce Nur Tas's avatar Tugce Nur Tas Committed by Tuğçe Nur Taş
Browse files

regenerate db/schema

parent 8f91aeb0
......@@ -35,30 +35,10 @@ ActiveRecord::Schema.define(version: 20170510150439) do
t.text "comments"
t.text "competent_authority"
t.text "involved_authority"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.bigint "user_id"
t.index ["user_id"], name: "index_clients_on_user_id"
end
create_table "departments", force: :cascade do |t|
t.string "name"
t.string "street"
t.string "zip"
t.string "place"
t.string "phone"
t.string "email"
t.bigint "user_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["user_id"], name: "index_departments_on_user_id"
end
create_table "departments_users", id: false, force: :cascade do |t|
t.bigint "user_id", null: false
t.bigint "department_id", null: false
t.index ["department_id", "user_id"], name: "index_departments_users_on_department_id_and_user_id"
t.index ["user_id", "department_id"], name: "index_departments_users_on_user_id_and_department_id"
t.index ["user_id"], name: "index_clients_on_user_id"
end
create_table "language_skills", force: :cascade do |t|
......@@ -140,7 +120,6 @@ ActiveRecord::Schema.define(version: 20170510150439) do
end
add_foreign_key "clients", "users"
add_foreign_key "departments", "users"
add_foreign_key "language_skills", "clients"
add_foreign_key "profiles", "users"
add_foreign_key "relatives", "clients"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment