change cloumn auth_token to app_token in employees

This commit is contained in:
Zin Moe
2020-01-14 17:23:52 +06:30
parent 406a18d1d6
commit 93928aedd5
6 changed files with 23 additions and 16 deletions

View File

@@ -0,0 +1,5 @@
class ChangeColumnAuthTokenToAppToken < ActiveRecord::Migration[5.1]
def change
rename_column :employees, :auth_token, :app_token
end
end