This commit is contained in:
2024-09-11 22:41:17 -03:00
parent 3cefdd8f38
commit 2dd0587393
17 changed files with 131 additions and 38 deletions

View File

@ -1,12 +1,9 @@
class CreateViajes < ActiveRecord::Migration[7.2]
def change
create_table :viajes do |t|
t.belongs_to :ruta
t.string :direccion_partida
t.string :direccion_llegada
t.int :kms
t.has_many :entregas
t.has_many :retiros
t.integer :kms
t.timestamps
end
end