Added job attributes, fixed seeds.rb
Added some attributes like status_changed_at. Refactored migration files. 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:
@@ -10,6 +10,7 @@ class CreateJobs < ActiveRecord::Migration[7.1]
|
||||
t.boolean :printed, default: false
|
||||
t.boolean :paid, default: false
|
||||
t.datetime :printed_at
|
||||
t.datetime :status_changed_at
|
||||
t.datetime :paid_at
|
||||
t.boolean :intern, default: false
|
||||
t.string :cost_center
|
||||
@@ -19,7 +20,7 @@ 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.string :pdf
|
||||
t.boolean :privacy_policy_accepted, default: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user