class CreateTableJobs < ActiveRecord::Migration[6.0]
  def change
    create_table :jobs do |t|
      t.string  :uuid, :null => false
      t.string  :file_name, :null => false
      t.string  :size, :null => false
      t.integer :number_of_lines, :null => true
      t.decimal :gross, precision: 10, scale: 2, :default => 0.00
      t.string  :user_uid, :null => false
      t.timestamps
    end
  end
end
