update migrate for sale audit remark

This commit is contained in:
Aung Myo
2018-03-14 13:51:31 +06:30
parent 0edc92d066
commit cf5a85fa5c
2 changed files with 6 additions and 6 deletions

View File

@@ -20,11 +20,11 @@ class ActionController::Base
end end
else else
# check for license file # check for license file
if check_license # if check_license
current_license(ENV["SX_PROVISION_URL"]) # current_license(ENV["SX_PROVISION_URL"])
else # else
redirect_to activate_path # redirect_to activate_path
end # end
end end
end end

View File

@@ -9,7 +9,7 @@ class CreateSaleAudits < ActiveRecord::Migration[5.1]
t.string :action_by, :null => false t.string :action_by, :null => false
t.string :approved_by, :null => true t.string :approved_by, :null => true
t.datetime :approved_at, :null => true t.datetime :approved_at, :null => true
t.string :remark t.text :remark
t.timestamps t.timestamps
end end
end end