Added cost and cost_qm in job model
Changes to the migration file makes it necessary to reimport the database: db:drop db:create db:migrate db:seed
This commit is contained in:
@@ -20,9 +20,11 @@ class CreateJobs < ActiveRecord::Migration[7.1]
|
||||
t.integer :number_of_plans_a2, default: 0
|
||||
t.integer :number_of_plans_a3, default: 0
|
||||
t.float :costum_qm_plan, default: 0
|
||||
t.float :cost, default: 0
|
||||
t.float :cost_qm, default: 0
|
||||
t.boolean :privacy_policy_accepted, default: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
2
db/schema.rb
generated
2
db/schema.rb
generated
@@ -59,6 +59,8 @@ ActiveRecord::Schema[7.1].define(version: 2024_08_01_153403) do
|
||||
t.integer "number_of_plans_a2", default: 0
|
||||
t.integer "number_of_plans_a3", default: 0
|
||||
t.float "costum_qm_plan", default: 0.0
|
||||
t.float "cost", default: 0.0
|
||||
t.float "cost_qm", default: 0.0
|
||||
t.boolean "privacy_policy_accepted", default: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
|
||||
Reference in New Issue
Block a user