add printer brand and api and type

This commit is contained in:
Yan
2018-03-15 18:56:29 +06:30
parent fc3e1b2d60
commit c982da4264
12 changed files with 70 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ class CreatePrintSettings < ActiveRecord::Migration[5.1]
t.string :printer_name, :null => false
t.string :api_settings
t.string :brand_name
t.string :type
t.string :printer_type
t.decimal :page_width, :null => false, :default => 210
t.decimal :page_height, :null => false, :default => 1450
t.integer :print_copies, :null => false, :default => 1