mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-13 08:15:55 +08:00
add watchers_count to user
This commit is contained in:
5
db/migrate/20200518065521_add_watchers_count_to_user.rb
Normal file
5
db/migrate/20200518065521_add_watchers_count_to_user.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddWatchersCountToUser < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :watchers_count, :integer, default: 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user