Files
dry_beans/db/migrate/20240911233430_create_retiros.rb

11 lines
265 B
Ruby
Raw Normal View History

2024-09-11 20:39:53 -03:00
class CreateRetiros < ActiveRecord::Migration[7.2]
def change
create_table :retiros do |t|
2024-09-11 20:42:56 -03:00
t.belongs_to :viaje
2024-09-11 20:56:54 -03:00
t.string :nombre_entrega # Quien entrega
t.string :carga # Detalles de la carga, serializado
2024-09-11 20:39:53 -03:00
t.timestamps
end
end
end