Sha256: deb43c40f8c815d0adc5a473e738955a6cd62d9736a69c8d858fde763b4bc0c7

Contents?: true

Size: 328 Bytes

Versions: 23

Compression:

Stored size: 328 Bytes

Contents

class CreatePrinters < ActiveRecord::Migration
  def change
    create_table :printers do |t|
      t.references :account, null: false, index: true
      t.string :name
      t.string :cups_printer
      t.string :command
      t.string :paper
      t.boolean :active
      t.string :state

      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/printer.rb
oxen_printer-0.4.14 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.13 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.12 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.11 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.9 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.8 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.7 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.5 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.4 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.3 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.2 lib/generators/printer/templates/printer.rb
oxen_printer-0.4.1 lib/generators/printer/templates/printer.rb
oxen_printer-0.3.4 lib/generators/printer/templates/printer.rb
oxen_printer-0.3.3 lib/generators/printer/templates/printer.rb
oxen_printer-0.3.2 lib/generators/printer/templates/printer.rb
oxen_printer-0.3.1 lib/generators/printer/templates/printer.rb
oxen_printer-0.3.0 lib/generators/printer/templates/printer.rb
oxen_printer-0.2.9 lib/generators/printer/templates/printer.rb
oxen_printer-0.2.8 lib/generators/printer/templates/printer.rb