add
This commit is contained in:
@ -2,6 +2,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.timestamps
|
||||
|
Reference in New Issue
Block a user