FIX add is_sync_pwd column to users table

This commit is contained in:
Jasder 2020-04-22 15:38:57 +08:00
parent e4ebf6e828
commit ae2c6627a9
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# TODO 该字段用于trusite用户登录时同步用户密码到gitea平台, 默认为未同步
class AddIsSyncPwdToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :is_sync_pwd, :boolean, :default => true
end
end