diff --git a/app/models/entrega.rb b/app/models/entrega.rb new file mode 100644 index 0000000..071d9a9 --- /dev/null +++ b/app/models/entrega.rb @@ -0,0 +1,2 @@ +class Entrega < ApplicationRecord +end diff --git a/app/models/retiro.rb b/app/models/retiro.rb new file mode 100644 index 0000000..3d196d5 --- /dev/null +++ b/app/models/retiro.rb @@ -0,0 +1,2 @@ +class Retiro < ApplicationRecord +end diff --git a/app/models/rutum.rb b/app/models/rutum.rb new file mode 100644 index 0000000..ebe3448 --- /dev/null +++ b/app/models/rutum.rb @@ -0,0 +1,2 @@ +class Rutum < ApplicationRecord +end diff --git a/app/models/viaje.rb b/app/models/viaje.rb new file mode 100644 index 0000000..62e6669 --- /dev/null +++ b/app/models/viaje.rb @@ -0,0 +1,2 @@ +class Viaje < ApplicationRecord +end diff --git a/db/migrate/20240911231722_create_ruta.rb b/db/migrate/20240911231722_create_ruta.rb new file mode 100644 index 0000000..12c478d --- /dev/null +++ b/db/migrate/20240911231722_create_ruta.rb @@ -0,0 +1,7 @@ +class CreateRuta < ActiveRecord::Migration[7.2] + def change + create_table :ruta do |t| + t.timestamps + end + end +end diff --git a/db/migrate/20240911231807_create_viajes.rb b/db/migrate/20240911231807_create_viajes.rb new file mode 100644 index 0000000..b13472a --- /dev/null +++ b/db/migrate/20240911231807_create_viajes.rb @@ -0,0 +1,7 @@ +class CreateViajes < ActiveRecord::Migration[7.2] + def change + create_table :viajes do |t| + t.timestamps + end + end +end diff --git a/db/migrate/20240911233401_create_entregas.rb b/db/migrate/20240911233401_create_entregas.rb new file mode 100644 index 0000000..8357d2e --- /dev/null +++ b/db/migrate/20240911233401_create_entregas.rb @@ -0,0 +1,7 @@ +class CreateEntregas < ActiveRecord::Migration[7.2] + def change + create_table :entregas do |t| + t.timestamps + end + end +end diff --git a/db/migrate/20240911233430_create_retiros.rb b/db/migrate/20240911233430_create_retiros.rb new file mode 100644 index 0000000..ab759a9 --- /dev/null +++ b/db/migrate/20240911233430_create_retiros.rb @@ -0,0 +1,7 @@ +class CreateRetiros < ActiveRecord::Migration[7.2] + def change + create_table :retiros do |t| + t.timestamps + end + end +end diff --git a/test/fixtures/entregas.yml b/test/fixtures/entregas.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/entregas.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/fixtures/retiros.yml b/test/fixtures/retiros.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/retiros.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/fixtures/ruta.yml b/test/fixtures/ruta.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/ruta.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/fixtures/viajes.yml b/test/fixtures/viajes.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/viajes.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/models/entrega_test.rb b/test/models/entrega_test.rb new file mode 100644 index 0000000..a717c9b --- /dev/null +++ b/test/models/entrega_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class EntregaTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/retiro_test.rb b/test/models/retiro_test.rb new file mode 100644 index 0000000..6ac3543 --- /dev/null +++ b/test/models/retiro_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class RetiroTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/rutum_test.rb b/test/models/rutum_test.rb new file mode 100644 index 0000000..94222b0 --- /dev/null +++ b/test/models/rutum_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class RutumTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/viaje_test.rb b/test/models/viaje_test.rb new file mode 100644 index 0000000..e48ef1e --- /dev/null +++ b/test/models/viaje_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class ViajeTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end