class CreateJobs < ActiveRecord::Migration[7.1] def change create_table :jobs do |t| t.references :operator, null: true t.references :costumer, null: true t.string :operator_firstname t.string :operator_lastname t.string :costumer_firstname t.string :costumer_lastname t.boolean :paid t.datetime :printed_at t.boolean :intern t.string :cost_center t.integer :number_of_plans_a0 t.integer :number_of_plans_a1 t.integer :number_of_plans_a2 t.integer :number_of_plans_a3 t.float :costum_qm_plan t.timestamps end end end