Pruebas
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user