Added per-user counter of approved/rejected screenshots
This commit is contained in:
parent
c97a711e6b
commit
9635b3968c
5 changed files with 55 additions and 27 deletions
6
db/migrate/20210321215433_add_upload_counter_to_users.rb
Normal file
6
db/migrate/20210321215433_add_upload_counter_to_users.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddUploadCounterToUsers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :users, :approved_screenshots, :integer, default: 0
|
||||
add_column :users, :rejected_screenshots, :integer, default: 0
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue