Browse Source

FIX add is_sync_pwd column to users table

tags/v1
Jasder 6 years ago
parent
commit
ae2c6627a9
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      db/migrate/20200421092002_add_is_sync_pwd_to_users.rb

+ 6
- 0
db/migrate/20200421092002_add_is_sync_pwd_to_users.rb 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

Loading…
Cancel
Save