|
|
@@ -10,7 +10,7 @@
|
|
|
#
|
|
|
# It's strongly recommended that you check this file into your version control system.
|
|
|
|
|
|
-ActiveRecord::Schema.define(version: 2021_12_30_103227) do
|
|
|
+ActiveRecord::Schema.define(version: 2022_01_05_101931) do
|
|
|
|
|
|
create_table "active_storage_attachments", charset: "utf8mb4", force: :cascade do |t|
|
|
|
t.string "name", null: false
|
|
|
@@ -127,14 +127,6 @@ ActiveRecord::Schema.define(version: 2021_12_30_103227) do
|
|
|
t.datetime "updated_at", precision: 6, null: false
|
|
|
end
|
|
|
|
|
|
- #create_table "tags", charset: "utf8mb4", force: :cascade do |t|
|
|
|
- # t.bigint "project_id", null: false
|
|
|
- # t.string "tag"
|
|
|
- # t.datetime "created_at", precision: 6, null: false
|
|
|
- # t.datetime "updated_at", precision: 6, null: false
|
|
|
- # t.index ["project_id"], name: "index_tags_on_project_id"
|
|
|
- #end
|
|
|
-
|
|
|
create_table "technologies", charset: "utf8mb4", force: :cascade do |t|
|
|
|
t.string "name"
|
|
|
t.integer "nature"
|
|
|
@@ -151,7 +143,7 @@ ActiveRecord::Schema.define(version: 2021_12_30_103227) do
|
|
|
end
|
|
|
|
|
|
create_table "texts", charset: "utf8mb4", force: :cascade do |t|
|
|
|
- t.bigint "user_id", null: true
|
|
|
+ t.bigint "user_id"
|
|
|
t.string "key"
|
|
|
t.string "language"
|
|
|
t.text "text"
|
|
|
@@ -195,15 +187,31 @@ ActiveRecord::Schema.define(version: 2021_12_30_103227) do
|
|
|
t.datetime "updated_at", precision: 6, null: false
|
|
|
end
|
|
|
|
|
|
- add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
|
|
|
+ create_table "work_experiences", charset: "utf8mb4", force: :cascade do |t|
|
|
|
+ t.bigint "user_id", null: false
|
|
|
+ t.date "start", null: false
|
|
|
+ t.date "end"
|
|
|
+ t.string "company", null: false
|
|
|
+ t.string "role"
|
|
|
+ t.string "description"
|
|
|
+ t.string "comment"
|
|
|
+ t.boolean "professional"
|
|
|
+ t.boolean "related"
|
|
|
+ t.boolean "visible"
|
|
|
+ t.datetime "created_at", precision: 6, null: false
|
|
|
+ t.datetime "updated_at", precision: 6, null: false
|
|
|
+ t.string "city"
|
|
|
+ t.index ["user_id"], name: "index_work_experiences_on_user_id"
|
|
|
+ end
|
|
|
+
|
|
|
add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
|
|
|
add_foreign_key "mail_adresses", "users"
|
|
|
add_foreign_key "messages", "users"
|
|
|
add_foreign_key "projects", "licenses"
|
|
|
add_foreign_key "projects", "users"
|
|
|
add_foreign_key "resumes", "users"
|
|
|
- #add_foreign_key "tags", "projects"
|
|
|
add_foreign_key "texts", "users"
|
|
|
add_foreign_key "user_social_links", "social_links"
|
|
|
add_foreign_key "user_social_links", "users"
|
|
|
+ add_foreign_key "work_experiences", "users"
|
|
|
end
|