mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
FIX add is_sync_pwd column to users table
This commit is contained in:
6
db/migrate/20200421092002_add_is_sync_pwd_to_users.rb
Normal file
6
db/migrate/20200421092002_add_is_sync_pwd_to_users.rb
Normal 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
|
||||
Reference in New Issue
Block a user