Creacion de modelos
This commit is contained in:
7
db/migrate/20240911231722_create_ruta.rb
Normal file
7
db/migrate/20240911231722_create_ruta.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class CreateRuta < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :ruta do |t|
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
7
db/migrate/20240911231807_create_viajes.rb
Normal file
7
db/migrate/20240911231807_create_viajes.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class CreateViajes < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :viajes do |t|
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
7
db/migrate/20240911233401_create_entregas.rb
Normal file
7
db/migrate/20240911233401_create_entregas.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class CreateEntregas < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :entregas do |t|
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
7
db/migrate/20240911233430_create_retiros.rb
Normal file
7
db/migrate/20240911233430_create_retiros.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class CreateRetiros < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :retiros do |t|
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user