Preference to set default_period (#1941)

This commit is contained in:
Nikhil Badyal
2025-03-07 20:35:54 +05:30
committed by GitHub
parent 372b64ffea
commit 26762477a3
12 changed files with 35 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
class AddDefaultPeriodToUsers < ActiveRecord::Migration[7.2]
def change
add_column :users, :default_period, :string, default: "last_30_days", null: false
end
end