order queue and print station
This commit is contained in:
11
db/migrate/20170403155230_create_employees.rb
Normal file
11
db/migrate/20170403155230_create_employees.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateEmployees < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :employees do |t|
|
||||
t.string :name, :null => false
|
||||
t.string :role, :null => false, :default => "cashier"
|
||||
t.string :encrypted_access_code, :null => false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user