This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
FIX add is_sync_pwd column to users table
tags/v1
Jasder
6 years ago
parent
e4ebf6e828
commit
ae2c6627a9
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save