Fixes
This commit is contained in:
6
db/schema.rb
generated
6
db/schema.rb
generated
@ -12,17 +12,21 @@
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2024_09_11_233430) do
|
||||
create_table "entregas", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||
t.bigint "viaje_id"
|
||||
t.string "nombre_recibe"
|
||||
t.text "carga"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["viaje_id"], name: "index_entregas_on_viaje_id"
|
||||
end
|
||||
|
||||
create_table "retiros", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||
t.bigint "viaje_id"
|
||||
t.string "nombre_entrega"
|
||||
t.text "carga"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["viaje_id"], name: "index_retiros_on_viaje_id"
|
||||
end
|
||||
|
||||
create_table "ruta", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||
@ -31,10 +35,12 @@ ActiveRecord::Schema[7.2].define(version: 2024_09_11_233430) do
|
||||
end
|
||||
|
||||
create_table "viajes", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||
t.bigint "ruta_id"
|
||||
t.string "direccion_partida"
|
||||
t.string "direccion_llegada"
|
||||
t.integer "kms"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["ruta_id"], name: "index_viajes_on_ruta_id"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user