Added vehicle scaffold
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
2024-08-20 19:50:29 +02:00
parent 1bd24e08d0
commit 132ea2c51d
20 changed files with 379 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
class CreateVehicles < ActiveRecord::Migration[7.2]
def change
create_table :vehicles do |t|
t.integer :vehicle_type
t.string :car_brand
t.string :model
t.integer :model_year
t.string :fuel_type
t.integer :power_ps
t.integer :power_kw
t.boolean :registered
t.string :license_plate
t.string :color
t.text :note
t.timestamps
end
end
end