Sha256: 10b4e1f46c18aec12c560331e510c5126a4717e7a0ac0659af61e8a20a340f43

Contents?: true

Size: 530 Bytes

Versions: 23

Compression:

Stored size: 530 Bytes

Contents

class CreatePrintJobs < ActiveRecord::Migration
  def change
    create_table :print_jobs do |t|
      t.references :account, null: false, index: true
      t.references :printer, index: true
      t.integer :printed_by_id
      t.string :printed_by_type
      t.string :view_template_path
      t.string :name
      t.string :printing_class
      t.string :print_driver
      t.string :print_format
      t.string :state
      t.string :paper
      t.integer :copies
      t.text :print_sql

      t.timestamps
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
oxen_printer-0.4.15 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.14 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.13 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.12 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.11 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.9 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.8 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.7 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.5 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.4 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.3 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.2 lib/generators/printer/templates/print_job.rb
oxen_printer-0.4.1 lib/generators/printer/templates/print_job.rb
oxen_printer-0.3.4 lib/generators/printer/templates/print_job.rb
oxen_printer-0.3.3 lib/generators/printer/templates/print_job.rb
oxen_printer-0.3.2 lib/generators/printer/templates/print_job.rb
oxen_printer-0.3.1 lib/generators/printer/templates/print_job.rb
oxen_printer-0.3.0 lib/generators/printer/templates/print_job.rb
oxen_printer-0.2.9 lib/generators/printer/templates/print_job.rb
oxen_printer-0.2.8 lib/generators/printer/templates/print_job.rb