Pull from master

This commit is contained in:
San Wai Lwin
2018-05-23 14:00:07 +06:30
parent 40bce7f598
commit 8134e37f5f
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class ActionController::Base
render :json => [{ status: false, message: 'Invalid Access!'}]
end
else
#check for license file
check for license file
if check_license
current_license(ENV["SX_PROVISION_URL"])
else

View File

@@ -3,6 +3,7 @@ class CreateEmployees < ActiveRecord::Migration[5.1]
create_table :employees do |t|
t.string :name, :null => false
t.string :role, :null => false, :default => "cashier"
t.boolean :is_active, :default => true
t.string :emp_id, :null => false
t.string :password_digest, :null => false
t.string :token_session